llvm/lib/Target/X86/MCTargetDesc
Hans Wennborg 22f9dd4591 MC asm parser: allow ?'s in symbol names, and handle @'s in names in MS asm
This is another (final?) stab at making us able to parse our own asm output
on Windows.

Symbols on Windows often contain @'s and ?'s in their names. Our asm parser
didn't like this. ?'s were not allowed, and @'s were intepreted as trying to
reference PLT/GOT/etc.

We can't just add quotes around the bad names, since e.g. for MinGW, we use gas
to assemble, and it doesn't like quotes in some places (notably in .def
directives).

This commit makes us allow ?'s in symbol names, and @'s in symbol names for MS
assembly.

Differential Revision: http://llvm-reviews.chandlerc.com/D1978

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193000 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-18 20:46:28 +00:00
..
CMakeLists.txt Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
X86AsmBackend.cpp Use the appropriate return type for the compact unwind encoding. 2013-09-11 21:47:57 +00:00
X86BaseInfo.h Adding intrinsics to the llvm backend for TBM instruction set. 2013-09-27 18:38:42 +00:00
X86ELFObjectWriter.cpp X86: Use R_X86_64_TPOFF64 for FK_Data_8 2013-09-22 05:30:16 +00:00
X86ELFRelocationInfo.cpp [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
X86FixupKinds.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
X86MachObjectWriter.cpp Fixed a crash in the integrated assembler for Mach-O when a symbol difference 2013-09-05 20:25:06 +00:00
X86MachORelocationInfo.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
X86MCAsmInfo.cpp MC asm parser: allow ?'s in symbol names, and handle @'s in names in MS asm 2013-10-18 20:46:28 +00:00
X86MCAsmInfo.h Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
X86MCCodeEmitter.cpp Change type of XOP flag in code emitters to a bool. Remove a some unneeded cases from switch. 2013-09-29 08:33:34 +00:00
X86MCTargetDesc.cpp Add a MCTargetStreamer interface. 2013-10-08 13:08:17 +00:00
X86MCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
X86WinCOFFObjectWriter.cpp MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00