diff options
Diffstat (limited to 'llvm/test/ExecutionEngine/OrcLazy/module-flags.ll')
-rw-r--r-- | llvm/test/ExecutionEngine/OrcLazy/module-flags.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/ExecutionEngine/OrcLazy/module-flags.ll b/llvm/test/ExecutionEngine/OrcLazy/module-flags.ll new file mode 100644 index 00000000000..c1240a876cb --- /dev/null +++ b/llvm/test/ExecutionEngine/OrcLazy/module-flags.ll @@ -0,0 +1,13 @@ +; RUN: lli -jit-kind=orc-lazy -orc-lazy-debug=mods-to-stdout %s | FileCheck %s +; +; CHECK: module-flags.ll.globals +; CHECK-NOT: Module End +; CHECK: The Answer is {{.*}}42 + +define i32 @main() { + ret i32 0 +} + +!llvm.module.flags = !{!0} + +!0 = !{i32 1, !"The Answer is ", i32 42} |