diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-12-18 02:53:03 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-12-18 02:53:03 +0000 |
commit | 88186c49c5d6b7e8aba75d422746db729893777f (patch) | |
tree | 4855d20ec13d2fc735d1ae18c07baf79f206cf10 /llvm/lib/Target/Sparc | |
parent | 6b32f1ec181c7ddeea6ee62fd612b7cfd794280e (diff) | |
download | bcm5719-llvm-88186c49c5d6b7e8aba75d422746db729893777f.tar.gz bcm5719-llvm-88186c49c5d6b7e8aba75d422746db729893777f.zip |
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>
llvm-svn: 197547
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions