brintos

brintos / llvm-project-archived public Read only

0
0
Text · 573 B · 5ba1f4b Raw
26 lines · plain
1# RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t2 3# RUN: llvm-objdump --section-headers %t | FileCheck %s4# CHECK:     Idx Name5# CHECK:      3  .foo6# CHECK-NEXT: 4  .bar7# CHECK-NEXT: 5  .zed8 9## Check we report the valid section index10## when requesting a specific section.11# RUN: llvm-objdump --section-headers --section=.bar %t \12# RUN:   | FileCheck %s --check-prefix=BAR13# BAR:      Idx Name14# BAR-NEXT:  4  .bar15# BAR-NOT:  foo16# BAR-NOT:  zed17 18.section .foo, "ax", %progbits19nop20 21.section .bar, "ax", %progbits22nop23 24.section .zed, "ax", %progbits25nop26