mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
0178571895
This matches the behavior of GNU assembler which supports symbolic expressions in absolute expressions used in assembly directives. Differential Revision: http://reviews.llvm.org/D20752 llvm-svn: 271102
22 lines
324 B
ArmAsm
22 lines
324 B
ArmAsm
# RUN: llvm-mc -triple i386-apple-darwin %s | FileCheck %s
|
|
|
|
# CHECK: TEST0:
|
|
# CHECK: .space 1
|
|
TEST0:
|
|
.space 1
|
|
|
|
# CHECK: TEST1:
|
|
# CHECK: .space 2,3
|
|
TEST1:
|
|
.space 2, 3
|
|
|
|
# CHECK: TEST2:
|
|
# CHECK: .space 1
|
|
TEST2:
|
|
.skip 1
|
|
|
|
# CHECK: TEST3
|
|
# CHECK: .space TEST0-TEST1
|
|
TEST3:
|
|
.space TEST0 - TEST1
|