llvm.org GIT mirror llvm / 1565077 test / Linker / module-flags-pic-1-a.ll
1565077

Tree @1565077 (Download .tar.gz)

module-flags-pic-1-a.ll @1565077

893f22f
 
 
 
1ef70ff
893f22f
 
 
1ef70ff
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 = !{ i32 1, !"PIC Level", i32 1 }

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