1 # RUN: yaml2obj %s -o - | \
2 # RUN: llvm-dwarfdump -debug-frame - | \
5 ## This checks that we resolve relocations when reading CIE pointers.
6 ## The second FDE references the second CIE. The value for the CIE pointer
7 ## field in the raw section data is 0, thus, to recover the real reference,
8 ## it is required to read the addend from the corresponding RELA relocation.
10 # CHECK: .debug_frame contents:
11 # CHECK: 00000000 0000000c ffffffff CIE
12 # CHECK: 00000010 00000014 00000000 FDE cie=00000000 pc=00000000...00000001
13 # CHECK: 00000028 0000000c ffffffff CIE
14 # CHECK: 00000038 00000014 00000028 FDE cie=00000028 pc=00000010...00000011
25 Content: 0C000000FFFFFFFF02000178100000001400000000000000000000000000000001000000000000000C000000FFFFFFFF0200017810000000140000000000000010000000000000000100000000000000
26 - Name: .rela.debug_frame
30 - Offset: 0x0000000000000014
33 - Offset: 0x000000000000003C