mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
27f2fb013f
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271102 91177308-0d34-0410-b5e6-96231b3b80d8
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
|