summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/OrcLazy/module-flags.ll
blob: 5ed5bf1e46f549271ff1d576482fdb98f16d4f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: lli -jit-kind=orc-lazy -orc-lazy-debug=mods-to-stdout %s | FileCheck %s
;
; CHECK: module-flags.ll.submodule
; 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}
OpenPOWER on IntegriCloud