1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/lib/MC/MCParser
Nirav Dave 84cac85538 Prevent out of order HashDirective lexing in AsmLexer.
Retrying after buildbot reset.

To lex hash directives we peek ahead to find component tokens, create a
unified token, and unlex the peeked tokens so the parser does not need
to parse the tokens then. Make sure we do not to lex another hash
directive during peek operation.

This fixes PR28921.

Reviewers: rnk, loladiro

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D24839

llvm-svn: 283111
2016-10-03 13:48:27 +00:00
..
AsmLexer.cpp Prevent out of order HashDirective lexing in AsmLexer. 2016-10-03 13:48:27 +00:00
AsmParser.cpp [MC] Support .ds directives in assembler parser 2016-09-23 21:53:36 +00:00
CMakeLists.txt
COFFAsmParser.cpp [MC] Handle discardable COFF sections in assembly 2016-09-14 22:41:50 +00:00
DarwinAsmParser.cpp [MC] Cleanup Error Handling in AsmParser 2016-07-18 15:24:03 +00:00
ELFAsmParser.cpp [MC] Cleanup Error Handling in AsmParser 2016-07-18 15:24:03 +00:00
LLVMBuild.txt
MCAsmLexer.cpp Defer asm errors to post-statement failure 2016-09-16 18:30:20 +00:00
MCAsmParser.cpp Defer asm errors to post-statement failure 2016-09-16 18:30:20 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp