xref: /llvm-project/llvm/test/CodeGen/ARM/Windows/read-only-data.ll (revision bed1c7f061aa12417aa081e334afdba45767b938)
1; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s
2
3@.str = private unnamed_addr constant [7 x i8] c"string\00", align 1
4
5declare arm_aapcs_vfpcc void @callee(ptr)
6
7define arm_aapcs_vfpcc void @function() {
8entry:
9  call arm_aapcs_vfpcc void @callee(ptr @.str)
10  ret void
11}
12
13; CHECK: .section .rdata,"dr"
14; CHECK-NOT: .section ".rodata.str1.1"
15
16