diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-11-01 22:38:31 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-11-01 22:38:31 +0000 |
| commit | 5c6b6346bc1af92fffdc9711d89885457859725a (patch) | |
| tree | d89d792fcf1c092bf05446a56c1ec53b55661ba0 | |
| parent | 7f1f3bd868ca4a399706bb32f8d689f824d405b9 (diff) | |
| download | bcm5719-llvm-5c6b6346bc1af92fffdc9711d89885457859725a.tar.gz bcm5719-llvm-5c6b6346bc1af92fffdc9711d89885457859725a.zip | |
ARM label operands can be quoted.
For example, labels from Objective-C sources.
llvm-svn: 143511
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 757eccbb644..0abfabefc72 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -3810,6 +3810,7 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands, } case AsmToken::LParen: // parenthesized expressions like (_strcmp-4) case AsmToken::Integer: // things like 1f and 2b as a branch targets + case AsmToken::String: // quoted label names. case AsmToken::Dot: { // . as a branch target // This was not a register so parse other operands that start with an // identifier (like labels) as expressions and create them as immediates. |

