blob: 539265beed9ee5650523812864c6edb19b7780c7 [file] [log] [blame]
Manman Renb9f73592016-05-25 23:14:48 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder < %s
3
Steven Wu211a0952017-09-15 21:12:14 +00004!llvm.module.flags = !{!0, !1, !2, !3}
Manman Renb9f73592016-05-25 23:14:48 +00005
Steven Wud900cd52017-08-21 21:49:13 +00006!0 = !{i32 1, !"PIC Level", i32 1}
7!1 = !{i32 1, !"PIE Level", i32 1}
8!2 = !{i32 1, !"Objective-C Image Info Version", i32 0}
Steven Wu211a0952017-09-15 21:12:14 +00009!3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA, __objc_imageinfo, regular, no_dead_strip"}
Manman Renb9f73592016-05-25 23:14:48 +000010
Steven Wud900cd52017-08-21 21:49:13 +000011; CHECK: !0 = !{i32 7, !"PIC Level", i32 1}
12; CHECK: !1 = !{i32 7, !"PIE Level", i32 1}
13; CHECK: !2 = !{i32 1, !"Objective-C Image Info Version", i32 0}
Steven Wu211a0952017-09-15 21:12:14 +000014; CHECK: !3 = !{i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead_strip"}
15; CHECK: !4 = !{i32 4, !"Objective-C Class Properties", i32 0}