llvm-6502/lib/MC/MCParser
Chad Rosier d4727e3798 [ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to
parse an identifier.  Otherwise, parseExpression may parse multiple tokens,
which makes it impossible to properly compute an immediate displacement.
An example of such a case is the source operand (i.e., [Symbol + ImmDisp]) in
the below example:

 __asm mov eax, [Symbol + ImmDisp]

The existing test cases exercise this patch.
rdar://13611297


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179115 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-09 19:34:59 +00:00
..
AsmLexer.cpp AsmParser: More generic support for integer type suffices. 2013-02-26 20:17:10 +00:00
AsmParser.cpp [ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to 2013-04-09 19:34:59 +00:00
CMakeLists.txt
COFFAsmParser.cpp
DarwinAsmParser.cpp
ELFAsmParser.cpp
LLVMBuild.txt
Makefile
MCAsmLexer.cpp
MCAsmParser.cpp
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp