brintos

brintos / llvm-project-archived public Read only

0
0
Text · 610 B · e4bc847 Raw
30 lines · plain
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S --sd - | FileCheck %s2 3  .text4  .globl  hello5  .type  hello,@function6hello:7  call  world8  ret9 10  .section  .text.world,"axG",@progbits,world,comdat11  .type  world,@function12world:13  call  doctor14  ret15 16// CHECK:  Name: .group17// CHECK-NOT: SectionData18// CHECK: SectionData19// CHECK-NEXT: 0000: 01000000 05000000 0600000020 21// CHECK: Index: 522// CHECK-NEXT: Name: .text.world23// CHECK-NOT: Section {24// CHECK: SHF_GROUP25 26// CHECK: Index: 627// CHECK-NEXT: Name: .rela.text.world28// CHECK-NOT: Section {29// CHECK: SHF_GROUP30