diff options
author | Dmitry Polukhin <dmitry.polukhin@gmail.com> | 2023-03-15 10:45:07 -0700 |
---|---|---|
committer | Dmitry Polukhin <dmitry.polukhin@gmail.com> | 2023-03-16 02:19:11 -0700 |
commit | b293c6280d06f49c5ca7290855911341ab0bdffa (patch) | |
tree | 77a56d1301e974cbe340701dbda529e402d1f6e4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1990ce74dcbd5fbb5c71672b50730007be3dcd5e (diff) | |
download | llvm-b293c6280d06f49c5ca7290855911341ab0bdffa.zip llvm-b293c6280d06f49c5ca7290855911341ab0bdffa.tar.gz llvm-b293c6280d06f49c5ca7290855911341ab0bdffa.tar.bz2 |
[clang][Lexer] Fix crash/assert clang::HeaderSearch::search_dir_nth
The issue was introduced in D135801. When there are only header maps in the SearchDirs,
the out of bounds value is assigned to FirstNonHeaderMapSearchDirIdx.
Test Plan: check-clang
Differential Revision: https://reviews.llvm.org/D146156
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions