mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
COFF section flags are not idempotent: 'rd' will make a read-write section because 'd' implies write 'dr' will make a read-only section because 'r' disables write git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228490 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
325 B
LLVM
13 lines
325 B
LLVM
; RUN: llc -mtriple thumbv7-windows-itanium -o - %s | FileCheck %s
|
|
|
|
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @function, i8* null }]
|
|
|
|
define arm_aapcs_vfpcc void @function() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .section .CRT$XCU,"dr"
|
|
; CHECK: .long function
|
|
|