llvm-project
ec32f94a - [llvm-jitlink] Add -show-jit-result option (#226149)

Commit
70 days ago
[llvm-jitlink] Add -show-jit-result option (#226149) Add a -show-jit-result option that prints the int result of the JIT'd main / entry function to stdout as: JIT result: <return value> This makes the result of the JIT'd main / entry function FileCheck-able, and distinguishable from an llvm-jitlink failure. This will be used in upcoming ORC runtime tests. Since we don't currently run code under llvm-jitlink in LLVM regression tests, this commit does not include an LLVM-side test.
Author
Parents
Loading