mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
14 lines
336 B
LLVM
14 lines
336 B
LLVM
|
; 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
|