2014-11-07 12:46:10 +08: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
|
|
|
|
|
2017-08-22 05:49:13 +08:00
|
|
|
!0 = !{ i32 7, !"PIC Level", i32 1 }
|
2014-11-07 12:46:10 +08:00
|
|
|
|
|
|
|
!llvm.module.flags = !{!0}
|
|
|
|
; CHECK: !llvm.module.flags = !{!0}
|
2017-08-22 05:49:13 +08:00
|
|
|
; CHECK: !0 = !{i32 7, !"PIC Level", i32 1}
|