mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
fd91d8dd7e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163193 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
387 B
LLVM
15 lines
387 B
LLVM
; RUN: llc -mtriple mipsel-unknown-linux -use-init-array < %s | FileCheck %s
|
|
|
|
target triple = "mipsel-unknown-linux"
|
|
|
|
@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @test }]
|
|
; CHECK: .section
|
|
; CHECK: .init_array
|
|
; CHECK-NOT: .ctors
|
|
; CHECK: .4byte test
|
|
|
|
define internal void @test() section ".text.startup" {
|
|
entry:
|
|
ret void
|
|
}
|