mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
dc3ad4835d
We are long past the time when this much bug for bug compatibility was useful. llvm-svn: 251970
33 lines
623 B
ArmAsm
33 lines
623 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s
|
|
|
|
// Test that we produce two foo sections, each in separate groups
|
|
|
|
// CHECK: Index: 3
|
|
// CHECK-NEXT: Name: .group
|
|
|
|
// CHECK: Index: 4
|
|
// CHECK-NEXT: Name: .foo
|
|
|
|
// CHECK: Index: 5
|
|
// CHECK-NEXT: Name: .group
|
|
|
|
// CHECK: Index: 6
|
|
// CHECK-NEXT: Name: .foo
|
|
|
|
// CHECK: Symbols [
|
|
|
|
// CHECK: Name: f1
|
|
// CHECK-NOT: }
|
|
// CHECK: Section: .group (0x3)
|
|
|
|
// CHECK: Name: f2
|
|
// CHECK-NOT: }
|
|
// CHECK: Section: .group (0x5)
|
|
|
|
.section .foo,"axG",@progbits,f1,comdat
|
|
nop
|
|
|
|
.section .foo,"axG",@progbits,f2,comdat
|
|
nop
|
|
|