llvm-6502/test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll
Rafael Espindola cecbc3d282 Add support for emitting ARM file attributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117275 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-25 17:50:35 +00:00

20 lines
655 B
LLVM

; RUN: llc %s -mtriple=arm-linux-gnueabi -filetype=obj -o - | \
; RUN: elf-dump --dump-section-data | FileCheck %s
; This tests that the extpected ARM attributes are emitted.
;
; CHECK: .ARM.attributes
; CHECK-NEXT: 0x70000003
; CHECK-NEXT: 0x00000000
; CHECK-NEXT: 0x00000000
; CHECK-NEXT: 0x0000003c
; CHECK-NEXT: 0x00000022
; CHECK-NEXT: 0x00000000
; CHECK-NEXT: 0x00000000
; CHECK-NEXT: 0x00000001
; CHECK-NEXT: 0x00000000
; CHECK-NEXT: '41210000 00616561 62690001 17000000 06020801 09011401 15011703 18011901 2c01'
define i32 @f(i64 %z) {
ret i32 0
}