1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
- | llvm-readobj
-S
--sr --sd
- | FileCheck
%s
3 // Test that we don
't produce a DW_CFA_advance_loc 0
18 // CHECK: Name: .eh_frame
19 // CHECK-NEXT: Type: SHT_X86_64_UNWIND
20 // CHECK-NEXT: Flags [
21 // CHECK-NEXT: SHF_ALLOC
23 // CHECK-NEXT: Address: 0x0
24 // CHECK-NEXT: Offset: 0x48
25 // CHECK-NEXT: Size: 56
26 // CHECK-NEXT: Link: 0
27 // CHECK-NEXT: Info: 0
28 // CHECK-NEXT: AddressAlignment: 8
29 // CHECK-NEXT: EntrySize: 0
30 // CHECK-NEXT: Relocations [
32 // CHECK-NEXT: SectionData (
33 // CHECK-NEXT: 0000: 14000000 00000000 017A5200 01781001
34 // CHECK-NEXT: 0010: 1B0C0708 90010000 1C000000 1C000000
35 // CHECK-NEXT: 0020: 00000000 04000000 00410E10 410A0E08
36 // CHECK-NEXT: 0030: 410B0000 00000000
41 // CHECK: Name: .rela.eh_frame
42 // CHECK-NEXT: Type: SHT_RELA
43 // CHECK-NEXT: Flags [
45 // CHECK-NEXT: Address: 0x0
46 // CHECK-NEXT: Offset:
47 // CHECK-NEXT: Size: 24
50 // CHECK-NEXT: AddressAlignment: 8
51 // CHECK-NEXT: EntrySize: 24
52 // CHECK-NEXT: Relocations [
53 // CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x0