diff options
author | Nirav Dave <niravd@google.com> | 2016-10-01 00:42:32 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2016-10-01 00:42:32 +0000 |
commit | 9f2bd4e7eacccd5e29747f38ac033562fd85bd5e (patch) | |
tree | 9e3d002dc4f68c8d137666131bde22a82f8a22db /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | c0657a6ceb3c617ca37ec2eb716475cf4348e0c6 (diff) | |
download | bcm5719-llvm-9f2bd4e7eacccd5e29747f38ac033562fd85bd5e.tar.gz bcm5719-llvm-9f2bd4e7eacccd5e29747f38ac033562fd85bd5e.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions