aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2019-11-10 10:50:12 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2019-11-11 15:53:48 -0800
commit01782c3e4df1830d7991e9edfee9119ed41e4c27 (patch)
treeff5560fd737399b1baace79ad13f02021377272c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentbfd58fc60ff4b0c081b5b489119c3798d3e2b53c (diff)
downloadllvm-01782c3e4df1830d7991e9edfee9119ed41e4c27.zip
llvm-01782c3e4df1830d7991e9edfee9119ed41e4c27.tar.gz
llvm-01782c3e4df1830d7991e9edfee9119ed41e4c27.tar.bz2
clang/Modules: Split loop in ReadAST between failable and not
Split a loop in ReadAST that visits the just-loaded module chain, between an initial loop that reads further from the ASTs (and can fail) and a second loop that does some preloading (and cannot fail). This makes it less likely for a reading failure to affect the AST. This is not fixing a known bug and the behaviour change may not be observable, it's just part of an audit to look at all of the error handling in the ASTReader. https://reviews.llvm.org/D70056
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions