[llvm-jitlink] Discard allocation actions in -noexec mode.
authorLang Hames <lhames@gmail.com>
Sat, 18 Feb 2023 04:16:16 +0000 (20:16 -0800)
committerLang Hames <lhames@gmail.com>
Sat, 18 Feb 2023 04:18:23 +0000 (20:18 -0800)
commit2ec1aba2b69faa1de5f71832a48e25aa3b5d5314
treed62bce1ba7057539288722b64950686c612bdd98
parentb4b5006be54e8f87b690e1ef3eda47b5d52a6128
[llvm-jitlink] Discard allocation actions in -noexec mode.

Allocation actions may run JIT'd code, which isn't permitted in -noexec mode.

Testcases that depend on actions running should be moved to the ORC runtime.
compiler-rt/test/orc/TestCases/Darwin/x86-64/MachO_gdb_jit_debuginfo_register.S [new file with mode: 0644]
llvm/test/ExecutionEngine/JITLink/X86/MachO_gdb_jit_debuginfo_register.s [deleted file]
llvm/tools/llvm-jitlink/llvm-jitlink.cpp