blob: 0f7c3ec970f0f75252276b4f7f082ebc9f77c7aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
; RUN: llc -mtriple=hexagon < %s | FileCheck -check-prefix=INITARRAY %s
; RUN: llc -mtriple=hexagon < %s -use-ctors | FileCheck -check-prefix=CTOR %s
@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @_GLOBAL__sub_I_P10066.ii, ptr null }]
define internal void @_GLOBAL__sub_I_P10066.ii() {
entry:
ret void
}
;CTOR: .section .ctors
;CTOR-NOT: section .init_array
;INITARRAY: section .init_array
;INITARRAY-NOT: .section .ctors
|