aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/module-flags-pic-1-a.ll
blob: bc4da9541ac32e68749d181ab5bbf0ee9ce9669e (plain)
1
2
3
4
5
6
7
8
9
; 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 = metadata !{ i32 1, metadata !"PIC Level", i32 1 }

!llvm.module.flags = !{!0}
; CHECK: !llvm.module.flags = !{!0}
; CHECK: !0 = metadata !{i32 1, metadata !"PIC Level", i32 1}