1 ; RUN: llc -mtriple x86_64-pc-linux < %s | FileCheck --check-prefix=CTOR %s
2 ; RUN: llc -mtriple x86_64-pc-linux -use-init-array < %s | FileCheck --check-prefix=INIT-ARRAY %s
3 @llvm.global_ctors = appending global [2 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @f }, { i32, void ()* } { i32 15, void ()* @g }]
15 ; CTOR: .section .ctors.65520,"aw",@progbits
18 ; CTOR-NEXT: .section .ctors,"aw",@progbits
22 ; INIT-ARRAY: .section .init_array.15,"aw",@init_array
23 ; INIT-ARRAY-NEXT: .align 8
24 ; INIT-ARRAY-NEXT: .quad g
25 ; INIT-ARRAY-NEXT: .section .init_array,"aw",@init_array
26 ; INIT-ARRAY-NEXT: .align 8
27 ; INIT-ARRAY-NEXT: .quad f