1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/MC
Chad Rosier 4ef6c35911 [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

llvm-svn: 179115
2013-04-09 19:34:59 +00:00
..
MCDisassembler Remove the assert()'s from the LLVMCreateDisasmCPU() library API and just 2013-03-12 18:12:17 +00:00
MCParser [ms-inline asm] Use parsePrimaryExpr in lieu of parseExpression if we need to 2013-04-09 19:34:59 +00:00
CMakeLists.txt Remove MCTargetAsmLexer and its derived classes now that edis, 2012-12-20 14:43:30 +00:00
ELFObjectWriter.cpp Commit the right files for r176762. Sigh. 2013-03-09 09:32:16 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
MachObjectWriter.cpp [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit. 2013-01-22 03:42:49 +00:00
Makefile
MCAsmBackend.cpp MachO: direct-to-object attribute for data-in-code markers. 2012-10-01 22:20:54 +00:00
MCAsmInfo.cpp Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default. 2013-01-23 16:22:04 +00:00
MCAsmInfoCOFF.cpp Fix alignment of .comm and .lcomm on mingw32. 2012-09-07 21:08:01 +00:00
MCAsmInfoDarwin.cpp Fix alignment of .comm and .lcomm on mingw32. 2012-09-07 21:08:01 +00:00
MCAsmStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCAssembler.cpp Fix unnecessary removal of const through cast machinery 2013-02-11 01:16:51 +00:00
MCAtom.cpp MCAtom extending methods need to extend the range of the atom as well. 2011-10-10 18:09:38 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp Sink codegen optimization level into MCCodeGenInfo along side relocation model 2011-11-16 08:38:26 +00:00
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 ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCELFObjectTargetWriter.cpp This patch reworks how llvm targets set 2013-01-30 02:09:52 +00:00
MCELFStreamer.cpp We need a shndx if the number of sections breaks SHN_LORESERVE. This condition 2013-03-09 09:31:44 +00:00
MCExpr.cpp Change '@SECREL' suffix to GAS-compatible '@SECREL32'. 2013-03-30 16:21:50 +00:00
MCInst.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCInstPrinter.cpp Try to unbreak the build on hosts that don't transitively pull in a definition for int64_t. 2012-12-05 18:31:11 +00:00
MCInstrAnalysis.cpp MCInstrAnalysis: Don't crash on instructions with no operands. 2011-09-19 17:56:00 +00:00
MCLabel.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCMachObjectTargetWriter.cpp MC/Mach-O: On second thought, use a custom hook for enabling aggressive 2010-12-17 05:50:29 +00:00
MCMachOStreamer.cpp Give the MCStreamer class hierarchy LLVM RTTI facilities for use with 2013-01-31 23:29:57 +00:00
MCModule.cpp Tidy up. 80 columns. 2011-11-15 16:46:22 +00:00
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 Suppress a GCC -Wunused-variable warning in -Asserts builds 2013-02-15 23:12:33 +00:00
MCObjectWriter.cpp Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCPureStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCRegisterInfo.cpp Add MCRI::getNumSubRegIndices() and start checking SubRegIndex ranges. 2012-09-11 16:34:02 +00:00
MCSection.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSectionCOFF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionELF.cpp Tidy up. Trailing whitespace. 2012-05-11 01:41:30 +00:00
MCSectionMachO.cpp Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. 2013-02-12 21:21:59 +00:00
MCStreamer.cpp Change NULL to 0. 2013-03-18 23:08:01 +00:00
MCSubtargetInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSymbol.cpp Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
MCValue.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCWin64EH.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
SubtargetFeature.cpp Symbol hygiene: Make sure declarations and definitions match, make helper functions static. 2012-10-20 12:53:26 +00:00
WinCOFFObjectWriter.cpp Remove unused variable (unused since r173839) 2013-01-29 23:27:45 +00:00
WinCOFFStreamer.cpp Give the MCStreamer class hierarchy LLVM RTTI facilities for use with 2013-01-31 23:29:57 +00:00