projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e840e88
)
ARM parse parenthesized expressions for label references.
author
Jim Grosbach
<grosbach@apple.com>
Wed, 26 Oct 2011 21:14:08 +0000
(21:14 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Wed, 26 Oct 2011 21:14:08 +0000
(21:14 +0000)
Partial fix for rdar://
10348687
.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143063
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index a278f6fe57c6cc0c05a24daa4cfef3d78dd4e39f..99f619cb1194f714b27fcf004d8251da2b384b94 100644
(file)
--- a/
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@
-3691,6
+3691,7
@@
bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
// Fall though for the Identifier case that is not a register or a
// special name.
}
+ case AsmToken::LParen: // parenthesized expressions like (_strcmp-4)
case AsmToken::Integer: // things like 1f and 2b as a branch targets
case AsmToken::Dot: { // . as a branch target
// This was not a register so parse other operands that start with an