llvm-6502/lib/MC/MCParser
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
..
AsmLexer.cpp Cache AllowAtInIdentifier as class variable in AsmLexer 2013-12-06 23:05:33 +00:00
AsmParser.cpp AsmParser: add support for .end directive 2013-12-18 02:53:03 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFAsmParser.cpp Support multiple COFF sections with the same name but different COMDAT. 2013-11-19 19:52:52 +00:00
DarwinAsmParser.cpp Add Support For .bss Named Section Directive For Darwin Targets. 2013-10-02 14:09:29 +00:00
ELFAsmParser.cpp Move .ident handling to MCStreamer. 2013-10-16 01:05:45 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
MCAsmLexer.cpp Change SMRange to be half-open (exclusive end) instead of closed (inclusive) 2013-01-07 19:00:49 +00:00
MCAsmParser.cpp MCParser: Update method names per coding guidelines. 2013-02-20 22:21:35 +00:00
MCAsmParserExtension.cpp Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
MCTargetAsmParser.cpp [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. 2012-10-19 17:57:49 +00:00