forked from OSchip/llvm-project
Add support for .skip.
Patch by Roman Divacky. Fixes PR9361. llvm-svn: 129106
This commit is contained in:
parent
052163e6d3
commit
88bc341061
|
@ -1052,7 +1052,7 @@ bool AsmParser::ParseStatement() {
|
|||
|
||||
if (IDVal == ".fill")
|
||||
return ParseDirectiveFill();
|
||||
if (IDVal == ".space")
|
||||
if (IDVal == ".space" || IDVal == ".skip")
|
||||
return ParseDirectiveSpace();
|
||||
if (IDVal == ".zero")
|
||||
return ParseDirectiveZero();
|
||||
|
|
|
@ -9,3 +9,8 @@ TEST0:
|
|||
# CHECK: .space 2,3
|
||||
TEST1:
|
||||
.space 2, 3
|
||||
|
||||
# CHECK: TEST2:
|
||||
# CHECK: .space 1
|
||||
TEST2:
|
||||
.skip 1
|
||||
|
|
Loading…
Reference in New Issue