aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/directive_zerofill.s
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-13 00:10:34 +0000
committerChris Lattner <sabre@nondot.org>2010-05-13 00:10:34 +0000
commit2abd47fcc2676f6a1cef34053424fc3449fc6860 (patch)
treee3bdb25dc7581c3f6e289dc283f6e142a6870857 /test/MC/AsmParser/directive_zerofill.s
parentf5adf4c220aa0af621a194315d2127945e399aeb (diff)
downloadexternal_llvm-2abd47fcc2676f6a1cef34053424fc3449fc6860.zip
external_llvm-2abd47fcc2676f6a1cef34053424fc3449fc6860.tar.gz
external_llvm-2abd47fcc2676f6a1cef34053424fc3449fc6860.tar.bz2
fix rdar://7965971 and a fixme: use ParseIdentifier in
ParseDirectiveDarwinZerofill instead of hard coding the check for identifier. This allows quoted symbol names to be used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/directive_zerofill.s')
-rw-r--r--test/MC/AsmParser/directive_zerofill.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_zerofill.s b/test/MC/AsmParser/directive_zerofill.s
index 4b26f9b..207b8a9 100644
--- a/test/MC/AsmParser/directive_zerofill.s
+++ b/test/MC/AsmParser/directive_zerofill.s
@@ -4,7 +4,11 @@
# CHECK: .zerofill __FOO,__bar,x,1
# CHECK: .zerofill __FOO,__bar,y,8,2
# CHECK: .zerofill __EMPTY,__NoSymbol
+# CHECK: .zerofill __DATA,__bss,"what you say?",8,3
TEST0:
.zerofill __FOO, __bar, x, 2-1
.zerofill __FOO, __bar, y , 8 , 1+1
.zerofill __EMPTY,__NoSymbol
+
+ # rdar://7965971
+ .zerofill __DATA, __bss, "what you say?", 8, 3