Files
lifting-bits-remill/scripts/docker-lifter-entrypoint.sh
T
Alex Cameron 031305d519 Get Remill building with LLVM 16 (#665)
* Get Remill building with LLVM 16

* Update scripts and README

* Refactor `MoveConstantIntoModule` check to reduce duplication

* Remove hack since we don't plan to clone functions across contexts

* Remove call to deprecated LLVM function

* Add LLVM 16 to CI

* Bump cxx-common version

* Fix scripts to work with new `cxx-common`

* Don't add unsupported `readnone` attribute with LLVM 16

* Use `memory(none)` with LLVM 16 instead of `readnone`

* Add LLVM 16 to docker lifter entrypoint
2023-04-28 10:29:34 +10:00

20 lines
244 B
Bash
Executable File

#!/bin/sh
# Needed to process multiple arguments to docker image
V=""
case ${LLVM_VERSION} in
llvm15*)
V=15
;;
llvm16*)
V=16
;;
*)
echo "Unknown LLVM version: ${LLVM_VERSION}"
exit 1
;;
esac
remill-lift-${V} "$@"