Mercurial > hg > CbC > CbC_llvm
view test/MC/Mips/sym-expr.s @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 54457678186b |
children |
line wrap: on
line source
# Check parsing symbol expressions # RUN: llvm-mc -triple=mipsel -show-inst-operands %s 2> %t0 # RUN: FileCheck %s < %t0 .global __start .ent __start __start: nop loc: jal __start + 0x4 # CHECK: instruction: [jal, Imm<__start+4>] jal __start + (-0x10) # CHECK: instruction: [jal, Imm<__start-16>] jal (__start + (-0x10)) # CHECK: instruction: [jal, Imm<__start-16>] .end __start