bolt/deps/llvm-18.1.8/llvm/test/CodeGen/ARM/Windows/read-only-data.ll
2025-02-14 19:21:04 +01:00

15 lines
367 B
LLVM

; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s
@.str = private unnamed_addr constant [7 x i8] c"string\00", align 1
declare arm_aapcs_vfpcc void @callee(ptr)
define arm_aapcs_vfpcc void @function() {
entry:
call arm_aapcs_vfpcc void @callee(ptr @.str)
ret void
}
; CHECK: .section .rdata,"dr"
; CHECK-NOT: .section ".rodata.str1.1"