1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/MC/MCParser
Nirav Dave ad117417c8 [MC] Prevent out of order HashDirective lexing in AsmLexer.
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: 282992
2016-10-01 00:42:32 +00:00
..
AsmLexer.cpp [MC] Prevent out of order HashDirective lexing in AsmLexer. 2016-10-01 00:42:32 +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