diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-07 05:13:32 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-07 05:13:32 +0000 |
| commit | 49a10e1c07bdda958fee7ddc9333e50cb8d08507 (patch) | |
| tree | 5d3ce965d5184a89e50aebf71fab0dec725b255f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ee5cb65ada184a3426bae07834066464978eab33 (diff) | |
| download | llvm-49a10e1c07bdda958fee7ddc9333e50cb8d08507.zip llvm-49a10e1c07bdda958fee7ddc9333e50cb8d08507.tar.gz llvm-49a10e1c07bdda958fee7ddc9333e50cb8d08507.tar.bz2 | |
system_error: correct ELAST emulation on Windows
ELAST should point to the last valid error string value. However,
`_sys_nerr` provides the number of elements in the errlist array. Since
the index is 0-based, this is off-by-one. Adjust it accordingly.
Thanks to David Majnemer for catching this!
llvm-svn: 291336
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
