llvm-for-llvmta/test/Linker/module-flags-pic-1-a.ll

10 lines
285 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-link %s %p/Inputs/module-flags-pic-1-b.ll -S -o - | FileCheck %s
; test linking modules with specified and default PIC levels
!0 = !{ i32 7, !"PIC Level", i32 1 }
!llvm.module.flags = !{!0}
; CHECK: !llvm.module.flags = !{!0}
; CHECK: !0 = !{i32 7, !"PIC Level", i32 1}