1 ; RUN: llc -march=hexagon < %s | FileCheck -check-prefix=INITARRAY %s
2 ; RUN: llc -march=hexagon < %s -use-ctors | FileCheck -check-prefix=CTOR %s
4 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @_GLOBAL__sub_I_P10066.ii, ptr null }]
5 define internal void @_GLOBAL__sub_I_P10066.ii() {
10 ;CTOR: .section .ctors
11 ;CTOR-NOT: section .init_array
13 ;INITARRAY: section .init_array
14 ;INITARRAY-NOT: .section .ctors