cxx-global-constructor.ll revision 34982576a43887e7f062ed0a3571af2cbab003f3
1; RUN: llc %s -mtriple=armv7-linux-gnueabi -relocation-model=pic \
2; RUN: -filetype=obj -o - | elf-dump --dump-section-data | FileCheck %s
3
4
5@llvm.global_ctors = appending global [1 x { i32, void ()* }] [{ i32, void ()* } { i32 65535, void ()* @f }]
6
7define void @f() {
8  ret void
9}
10
11; Check for a relocation of type R_ARM_TARGET1.
12; CHECK: ('r_type', 0x26)
13