26 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o3 4# RUN: ld.lld %t.o -o %t5# RUN: llvm-readelf -S %t | FileCheck --check-prefix=SEC %s6# RUN: llvm-readelf -x .rodata %t | FileCheck %s7 8# SEC: Name Type {{.*}} Size ES Flg Lk Inf Al9# SEC: .rodata PROGBITS {{.*}} 000006 01 AMS 0 0 810 11## Check there is no extra padding.12 13# CHECK: a.b.c.14 15.section .rodata.str1.8,"aMS",@progbits,116.align 817.asciz "a"18 19.section .rodata.str1.2,"aMS",@progbits,120.align 221.asciz "b"22 23.section .rodata.str1.1,"aMS",@progbits,124.align 125.asciz "c"26