1 # RUN: yaml2obj %s > %t
2 # RUN: printf 0000 > %t.blob
3 # RUN: llvm-objcopy --add-gnu-debuglink=%t.blob %t %t2
4 # RUN: llvm-readobj --sections --section-data %t2 | FileCheck %s
13 # CHECK: Name: .gnu_debuglink
14 # CHECK-NEXT: Type: SHT_PROGBITS (0x1)
15 # CHECK-NEXT: Flags [ (0x0)
17 # CHECK-NEXT: Address: 0x0
19 # CHECK-NEXT: Size: 36
22 # CHECK-NEXT: AddressAlignment: 4
23 # CHECK-NEXT: EntrySize: 0
24 # CHECK-NEXT: SectionData (
25 # CHECK-NEXT: 0000: 6164642D 676E752D 64656275 676C696E |add-gnu-debuglin|
26 # CHECK-NEXT: 0010: 6B2E7465 73742E74 6D702E62 6C6F6200 |k.test.tmp.blob.|
27 # CHECK-NEXT: 0020: 72C49B0C |r...|