brintos

brintos / llvm-project-archived public Read only

0
0
Text · 391 B · 6248518 Raw
14 lines · plain
1; RUN: llc %s -mtriple=armv7-linux-gnueabi -relocation-model=pic \2; RUN: -filetype=obj -o - | llvm-readobj -r - | FileCheck %s3 4 5@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @f, ptr null }]6 7define void @f() {8  ret void9}10 11; Check for a relocation of type R_ARM_TARGET1.12; CHECK: Relocations [13; CHECK:   0x{{[0-9,A-F]+}} R_ARM_TARGET114