commit | 10adab0d54dca2f6e66f8c517ee4fa5dbd354d4c | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Nov 16 22:25:05 2016 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Nov 16 22:25:05 2016 +0000 |
tree | 73e81bf0d7e2dd4a695a77291dd0a24c75a96fe4 | |
parent | 03cebfbba99b59953fd96fd4bd55d15c64df3fb7 [diff] |
[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)'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287170 91177308-0d34-0410-b5e6-96231b3b80d8