23 lines · plain
1# RUN: llvm-mc -triple=x86_64 %s -o - | FileCheck %s2 3# If section flags and other attributes are omitted, don't error.4 5# CHECK: .section .foo,"aM",@progbits,16# CHECK: .section .rodata.cst8,"aM",@progbits,87# CHECK: .section .lds_bss,"w",@nobits8 9.section .foo,"aM",@progbits,110 11.section .foo12 13.pushsection .foo14 15# Likewise, except that the '.rodata' prefix implies SHF_ALLOC.16.section .rodata.cst8,"aM",@progbits,817 18.section .rodata.cst819 20# Likewise for Type changes21.section .lds_bss,"w",@nobits22.section .lds_bss23