llvm-6502/include/llvm/MC
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
..
MCParser Support C99 hexadecimal floating-point literals in assembly 2013-08-14 14:23:31 +00:00
MachineLocation.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
MCAsmBackend.h Use the appropriate return type for the compact unwind encoding. 2013-09-11 21:47:57 +00:00
MCAsmInfo.h MC asm parser: allow ?'s in symbol names, and handle @'s in names in MS asm 2013-10-18 20:46:28 +00:00
MCAsmInfoCOFF.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
MCAsmInfoDarwin.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
MCAsmInfoELF.h Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MCAsmLayout.h [MC] Bundle alignment: Invalidate relaxed fragments 2013-02-05 17:55:27 +00:00
MCAssembler.h Add support for subsections to the ELF assembler. Fixes PR8717. 2013-04-17 21:18:16 +00:00
MCAtom.h Fix MCDataAtom never calling remap when adding data. 2013-10-16 18:26:16 +00:00
MCCodeEmitter.h Add more reset methods to make all objects that the backend may use for outputting code have a reset, some are not used but were declared for completeness 2012-12-14 18:52:11 +00:00
MCCodeGenInfo.h Fix typo in comment. 2012-02-17 16:39:47 +00:00
MCContext.h MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
MCDirectives.h Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
MCDisassembler.h Follow up of the introduction of MCSymbolizer. 2013-05-24 22:51:52 +00:00
MCDwarf.h Implements parsing and emitting of .cfi_window_save in MC. 2013-09-26 14:49:40 +00:00
MCELF.h ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCELFObjectWriter.h Cleanup relocation sorting for ELF. 2013-05-15 18:22:01 +00:00
MCELFStreamer.h Move .ident handling to MCStreamer. 2013-10-16 01:05:45 +00:00
MCELFSymbolFlags.h
MCExpr.h [PowerPC] Revert r185476 and fix up TLS variant kinds 2013-07-09 16:41:09 +00:00
MCExternalSymbolizer.h Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
MCFixedLenDisassembler.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
MCFixup.h Convert assert(0) to llvm_unreachable 2012-02-05 22:14:15 +00:00
MCFixupKindInfo.h Tidy up. Trailing whitespace. 2012-05-11 01:39:13 +00:00
MCFunction.h MCFunction.h: Prune \returns to fix a warning in r188881. [-Wdocumentation] 2013-08-21 09:34:22 +00:00
MCInst.h Simplify the MCInst operator iterator declaration. 2013-04-15 17:40:45 +00:00
MCInstBuilder.h Decouple MCInstBuilder from the streamer per Eli's request. 2012-11-26 18:05:52 +00:00
MCInstPrinter.h [MC] AvailableFeatures needs to be a uint64_t to match FeatureBits in MCSubtargetInfo. 2013-09-03 15:03:36 +00:00
MCInstrAnalysis.h MC: Disassembled CFG reconstruction. 2013-05-24 01:07:04 +00:00
MCInstrDesc.h Somehow this important part of the patch, where I actually check the Mask, 2013-09-12 14:23:19 +00:00
MCInstrInfo.h Revert r152202: "Use uint16_t to store InstrNameIndices in MCInstrInfo." 2012-03-15 18:05:57 +00:00
MCInstrItineraries.h Machine Model: Add MicroOpBufferSize and resource BufferSize. 2013-06-15 04:49:57 +00:00
MCLabel.h Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
MCMachObjectWriter.h Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
MCMachOSymbolFlags.h
MCModule.h MC CFG: Split MCBasicBlocks to mirror atom splitting. 2013-08-21 07:28:24 +00:00
MCModuleYAML.h Fix #include guard. 2013-08-25 19:48:46 +00:00
MCObjectDisassembler.h MC CFG: Support disassembly at arbitrary addresses in MCObjectDisassembler. 2013-08-21 07:28:55 +00:00
MCObjectFileInfo.h Add the gnu pubnames and pubtypes sections to the mc object file 2013-09-09 20:03:14 +00:00
MCObjectStreamer.h Add a MCTargetStreamer interface. 2013-10-08 13:08:17 +00:00
MCObjectSymbolizer.h MC: ObjectSymbolizer can now recognize external function stubs. 2013-08-21 07:28:13 +00:00
MCObjectWriter.h Fix unnecessary removal of const through cast machinery 2013-02-11 01:16:51 +00:00
MCRegisterInfo.h Make SubRegIndex size mandatory, following r183020. 2013-05-31 23:45:26 +00:00
MCRelocationInfo.h Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
MCSchedule.h Mark the x86 machine model as incomplete. PR17367. 2013-09-25 18:14:12 +00:00
MCSection.h Add support for subsections to the ELF assembler. Fixes PR8717. 2013-04-17 21:18:16 +00:00
MCSectionCOFF.h MC: Implement COFF .linkonce directive 2013-07-06 12:13:10 +00:00
MCSectionELF.h Add support for subsections to the ELF assembler. Fixes PR8717. 2013-04-17 21:18:16 +00:00
MCSectionMachO.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
MCStreamer.h Move .ident handling to MCStreamer. 2013-10-16 01:05:45 +00:00
MCSubtargetInfo.h Fix X86 subtarget to not overwrite the autodetected features by calling InitMCProcessorInfo right after detecting them. Instead add a new function that only updates the scheduling model and call that. 2013-09-18 05:54:09 +00:00
MCSymbol.h Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
MCSymbolizer.h Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
MCTargetAsmParser.h reverting per request 2013-10-04 22:52:31 +00:00
MCValue.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
MCWin64EH.h Add a parameter to the Win64 EH section getters to get a section with a 2011-05-27 19:09:24 +00:00
MCWinCOFFObjectWriter.h MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
SectionKind.h
SubtargetFeature.h MC: Don't assume incoming StringRef's are null terminated. 2013-10-13 22:09:26 +00:00