2 // RUN
: llvm-mc
-filetype
=obj
-triple
=x86_64-pc-linux
%s
-o
%t.o
3 // RUN
: ld.lld
%t.o
-o
%t.so
-shared
4 // RUN
: llvm-readobj
-r
-S
--section-data
%t.so | FileCheck
%s
5 // RUN
: ld.lld
%t.o
-o
%t -pie
6 // RUN
: llvm-readobj
-r
-S
--section-data
%t | FileCheck
%s
8 /// This is usually guarded with
a comparison. Don
't report an error.
17 // CHECK-NEXT: Type: SHT_PROGBITS
18 // CHECK-NEXT: Flags [
19 // CHECK-NEXT: SHF_ALLOC
20 // CHECK-NEXT: SHF_WRITE
22 // CHECK-NEXT: Address:
23 // CHECK-NEXT: Offset:
24 // CHECK-NEXT: Size: 8
25 // CHECK-NEXT: Link: 0
26 // CHECK-NEXT: Info: 0
27 // CHECK-NEXT: AddressAlignment: 1
28 // CHECK-NEXT: EntrySize: 0
29 // CHECK-NEXT: SectionData (
30 // CHECK-NEXT: 0000: 00000000 00000000
33 // CHECK: Relocations [