aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/init-array.ll
blob: d80be8f3a6394d125ef3b607ba98c4d847bf15d9 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs -use-init-array < %s | FileCheck %s

define internal void @_GLOBAL__I_a() section ".text.startup" {
  ret void
}

@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @_GLOBAL__I_a }]

; CHECK: .section .init_array