llvm-6502/lib/MC
Chad Rosier ba69b36692 Reapply r179115, but use parsePrimaryExpression a little more judiciously.
Test cases that regressed due to r179115, plus a few more, were added in
r179182.  Original commit message below:

[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]

Part of rdar://13611297

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179187 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-10 17:35:30 +00:00
..
MCDisassembler Remove the assert()'s from the LLVMCreateDisasmCPU() library API and just 2013-03-12 18:12:17 +00:00
MCParser Reapply r179115, but use parsePrimaryExpression a little more judiciously. 2013-04-10 17:35:30 +00:00
CMakeLists.txt
ELFObjectWriter.cpp Commit the right files for r176762. Sigh. 2013-03-09 09:32:16 +00:00
LLVMBuild.txt
MachObjectWriter.cpp
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCAssembler.cpp Remove unused method and default values. 2013-04-09 20:35:08 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Debug Info: use SmallVector instead of std::vector in MCDwarfDirsCUMap and MCDwarfFilesCUMap 2013-03-12 20:17:00 +00:00
MCDisassembler.cpp
MCDwarf.cpp Debug Info: use SmallVector instead of std::vector in MCDwarfDirsCUMap and MCDwarfFilesCUMap 2013-03-12 20:17:00 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Use a scheme closer to that of GNU as when deciding the type of a 2013-04-10 16:52:15 +00:00
MCExpr.cpp Change '@SECREL' suffix to GAS-compatible '@SECREL32'. 2013-03-30 16:21:50 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCModule.cpp
MCNullStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCObjectFileInfo.cpp Fix the fde encoding used by mips to match gas. 2013-04-03 03:13:19 +00:00
MCObjectStreamer.cpp
MCObjectWriter.cpp
MCPureStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Change NULL to 0. 2013-03-18 23:08:01 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp
WinCOFFStreamer.cpp