[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ELF / comdat-dup-group-name.s
blobffa8b2b43dc16fa4c6d8e1ab5bf1c2f14545d6ed
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --symbols | FileCheck %s
3 // Test that we produce two foo sections, each in separate groups
5 // CHECK: Index: 3
6 // CHECK-NEXT: Name: .group
8 // CHECK: Index: 4
9 // CHECK-NEXT: Name: .foo
11 // CHECK: Index: 5
12 // CHECK-NEXT: Name: .group
14 // CHECK: Index: 6
15 // CHECK-NEXT: Name: .foo
17 // CHECK: Symbols [
19 // CHECK: Name: f1
20 // CHECK-NOT: }
21 // CHECK: Section: .group (0x3)
23 // CHECK: Name: f2
24 // CHECK-NOT: }
25 // CHECK: Section: .group (0x5)
27 .section .foo,"axG",@progbits,f1,comdat
28 nop
30 .section .foo,"axG",@progbits,f2,comdat
31 nop