forked from OSchip/llvm-project
14 lines
381 B
LLVM
14 lines
381 B
LLVM
|
; This tests value of ELF st_other field for function symbol table entries.
|
||
|
; For microMIPS value should be equal to STO_MIPS_MICROMIPS.
|
||
|
|
||
|
; RUN: llc -filetype=obj -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | elf-dump --dump-section-data | FileCheck %s
|
||
|
|
||
|
define i32 @main() nounwind {
|
||
|
entry:
|
||
|
ret i32 0
|
||
|
}
|
||
|
|
||
|
; CHECK: 'main'
|
||
|
; CHECK: ('st_other', 0x80)
|
||
|
|