You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
280 B
19 lines
280 B
4 months ago
|
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
|
||
|
# RUN: llvm-objdump -d -r - | FileCheck %s
|
||
|
|
||
|
.global foo
|
||
|
.weak bar
|
||
|
.set bar, b
|
||
|
.set foo, b
|
||
|
.set foo, a
|
||
|
a:
|
||
|
nop
|
||
|
# CHECK-NOT: a:
|
||
|
# CHECK: <foo>:
|
||
|
|
||
|
b:
|
||
|
nop
|
||
|
# CHECK-NOT: b:
|
||
|
# CHECK-NOT: foo:
|
||
|
# CHECK: <bar>:
|