2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
3 # RUN: ld.lld -r %t1.o -o %t
4 # RUN: llvm-readobj -S --section-data %t | FileCheck %s
6 # CHECK: Name: .comment
7 # CHECK-NEXT: Type: SHT_PROGBITS
9 # CHECK-NEXT: SHF_MERGE
10 # CHECK-NEXT: SHF_STRINGS
12 # CHECK-NEXT: Address:
17 # CHECK-NEXT: AddressAlignment: 1
18 # CHECK-NEXT: EntrySize: 1
19 # CHECK-NEXT: SectionData (
20 # CHECK-NEXT: 0000: 666F6F62 617200 |foobar.|
24 # We used to crash creating a merge and non merge .comment sections.
26 .section .comment,"MS",@progbits,1