summaryrefslogtreecommitdiff
path: root/test/MC/ARM/elf-eflags-eabi-cg.ll
blob: 2e86a0f360775b23741e3a5bb4105d203c97ad50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; Codegen version to check for ELF header flags.
;
; RUN: llc %s -mtriple=thumbv7-linux-gnueabi -relocation-model=pic \
; RUN: -filetype=obj -o - | elf-dump --dump-section-data | \
; RUN: FileCheck %s

define void @bar() nounwind {
entry:
  ret void
}

; For now the only e_flag set is EF_ARM_EABI_VER5
;CHECK:    'e_flags', 0x05000000