diff options
| author | Petr Hosek <phosek@chromium.org> | 2016-05-25 22:47:51 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2016-05-25 22:47:51 +0000 |
| commit | e25837528b677fb8f9181c2bf8c8d06c2f43da24 (patch) | |
| tree | e5888b230cbb4bc522579d3a7a181ededce9e124 /llvm/test/MC/AsmParser/directive_space.s | |
| parent | 6b93bf5783a1dd7b5535cff5eedbe2d965d90ac0 (diff) | |
| download | bcm5719-llvm-e25837528b677fb8f9181c2bf8c8d06c2f43da24.tar.gz bcm5719-llvm-e25837528b677fb8f9181c2bf8c8d06c2f43da24.zip | |
[MC] Support symbolic expressions in assembly directives
This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.
Differential Revision: http://reviews.llvm.org/D20337
llvm-svn: 270786
Diffstat (limited to 'llvm/test/MC/AsmParser/directive_space.s')
| -rw-r--r-- | llvm/test/MC/AsmParser/directive_space.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/directive_space.s b/llvm/test/MC/AsmParser/directive_space.s index fc5aeb4b633..eadc4fc6383 100644 --- a/llvm/test/MC/AsmParser/directive_space.s +++ b/llvm/test/MC/AsmParser/directive_space.s @@ -14,3 +14,8 @@ TEST1: # CHECK: .space 1 TEST2: .skip 1 + +# CHECK: TEST3 +# CHECK: .space TEST0-TEST1 +TEST3: + .space TEST0 - TEST1 |

