diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-11-16 22:25:05 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2016-11-16 22:25:05 +0000 |
commit | f33f91af245d631034bd55eedc4f9705461d17f6 (patch) | |
tree | 0c3af87cc96c2cc6d426b454a1c7e2c0f2d26506 /llvm/test/CodeGen | |
parent | bd6ce9a2471756c29ae7a8e6c9d2377bdfd8c778 (diff) | |
download | bcm5719-llvm-f33f91af245d631034bd55eedc4f9705461d17f6.tar.gz bcm5719-llvm-f33f91af245d631034bd55eedc4f9705461d17f6.zip |
[AsmParser] Avoid recursing when lexing ';'. NFC.
This should prevent stack overflows in non-optimized builds on
.ll files with lots of consecutive commented-out lines.
Instead of recursing into LexToken(), continue into a 'while (true)'.
llvm-svn: 287170
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions