1 # RUN: yaml2obj %s -o %t.o
2 # RUN: ld.lld %t.o %t.o -o %t -r
3 # RUN: llvm-readobj -S %t | FileCheck %s
5 # CHECK: Name: .text.foo
6 # CHECK: Name: .rela.text.foo
20 - SectionOrType: GRP_COMDAT
21 - SectionOrType: .text.foo
22 - SectionOrType: .text.bar
23 - SectionOrType: .note
30 Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
33 Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
34 - Name: .rela.text.foo
36 Flags: [ SHF_INFO_LINK, SHF_GROUP ]
42 - Name: .rela.text.bar
44 Flags: [ SHF_INFO_LINK, SHF_GROUP ]