29 lines · plain
1# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \2# RUN: | llvm-readobj --symbols - | FileCheck %s3 4# Symbol bar must be marked as micromips.5# CHECK: Name: bar6# CHECK: Other [ (0x80)7 .align 28 .type f,@function9 .set nomips1610 .set micromips11f:12 nop13 .set nomicromips14 nop15 .globl bar16bar = f17 18# CHECK: Name: foo19# CHECK: Other [ (0x80)20 .type o,@object21 .set micromips22o:23 .insn24 .word 0x0000000025 .set nomicromips26 27 .globl foo28foo = o29