llvm-6502/lib/MC
Saleem Abdulrasool 5a445395de AsmParser: add support for .end directive
The .end directive indicates the end of the file.  No further instructions are
processed after a .end directive is encountered.

One potential (glaringly obvious) optimisation that could be pursued here is to
extend MCAsmParser with a DiscardRemainder method to avoid processing lexemes to
the end of the file.  It was unclear at this point if that would be worth
adding, and could easily be added in a follow on change.

Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197547 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-18 02:53:03 +00:00
..
MCDisassembler Prune redundant dependencies in LLVMBuild.txt. 2013-12-11 00:30:57 +00:00
MCParser AsmParser: add support for .end directive 2013-12-18 02:53:03 +00:00
CMakeLists.txt
ELFObjectWriter.cpp [mc] Fix ELF st_other flag. 2013-12-05 00:34:11 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp on darwin<10, fallback to .weak_definition (PPC,X86) 2013-12-10 21:37:41 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp on darwin<10, fallback to .weak_definition (PPC,X86) 2013-12-10 21:37:41 +00:00
MCAsmInfoELF.cpp
MCAsmStreamer.cpp
MCAssembler.cpp
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Fix a crash that occurs when PWD is invalid. 2013-12-10 04:39:09 +00:00
MCDisassembler.cpp
MCDwarf.cpp Fix a crash that occurs when PWD is invalid. 2013-12-10 04:39:09 +00:00
MCELF.cpp [mc] Fix ELF st_other flag. 2013-12-05 00:34:11 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp
MCExternalSymbolizer.cpp
MCFunction.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCModule.cpp
MCModuleYAML.cpp
MCNullStreamer.cpp
MCObjectDisassembler.cpp
MCObjectFileInfo.cpp DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers 2013-12-13 21:33:40 +00:00
MCObjectStreamer.cpp
MCObjectSymbolizer.cpp
MCObjectWriter.cpp
MCPureStreamer.cpp
MCRegisterInfo.cpp
MCRelocationInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
MCSectionELF.cpp
MCSectionMachO.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
MCStreamer.cpp
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolizer.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
WinCOFFStreamer.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00