15 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck -check-prefix=INITARRAY %s2; RUN: llc -mtriple=hexagon < %s -use-ctors | FileCheck -check-prefix=CTOR %s3 4@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @_GLOBAL__sub_I_P10066.ii, ptr null }]5define internal void @_GLOBAL__sub_I_P10066.ii() {6entry:7 ret void8}9 10;CTOR: .section .ctors11;CTOR-NOT: section .init_array12 13;INITARRAY: section .init_array14;INITARRAY-NOT: .section .ctors15