diff options
Diffstat (limited to 'test/MC/ARM/elf-eflags-eabi-cg.ll')
-rw-r--r-- | test/MC/ARM/elf-eflags-eabi-cg.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/ARM/elf-eflags-eabi-cg.ll b/test/MC/ARM/elf-eflags-eabi-cg.ll new file mode 100644 index 000000000000..2e86a0f36077 --- /dev/null +++ b/test/MC/ARM/elf-eflags-eabi-cg.ll @@ -0,0 +1,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 |