llvm-for-llvmta/test/MC/Mips/mips-rdata.s

14 lines
336 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# Check that .rdata sections have proper name, flags, and section types.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
# RUN: | llvm-readobj -S - | FileCheck %s
.rdata
.word 0
# CHECK: Name: .rodata
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK-NEXT: Flags [ (0x2)
# CHECK-NEXT: SHF_ALLOC
# CHECK-NEXT: ]