aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll
blob: d854238c04c2e750b4cc9ca3da1e27732f922013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; 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
}