diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-12-14 04:53:11 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-12-14 04:53:11 +0000 |
| commit | 5a54977ea8ba690192d98c1fd4571858cc1451ac (patch) | |
| tree | ceedb028c30344d6ad0f7c0cbb82f32362e0e3c9 /llvm/unittests/Support/ThreadLocalTest.cpp | |
| parent | 11c4874d83c5f3972013c3ea38faef7665072263 (diff) | |
| download | llvm-5a54977ea8ba690192d98c1fd4571858cc1451ac.zip llvm-5a54977ea8ba690192d98c1fd4571858cc1451ac.tar.gz llvm-5a54977ea8ba690192d98c1fd4571858cc1451ac.tar.bz2 | |
Lex: Don't crash if both conflict markers are on the same line
We would check if the terminator marker is on a newline. However, the
logic would end up out-of-bounds if the terminator marker immediately
follows the start marker.
This fixes PR21820.
llvm-svn: 224210
Diffstat (limited to 'llvm/unittests/Support/ThreadLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions
