aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorElla Ma <alansnape3058@gmail.com>2021-05-25 09:42:16 +0200
committerBalazs Benics <balazs.benics@sigmatechnology.se>2021-05-25 09:44:13 +0200
commitd59b4acf80d59c461decd41400988febaf0af8ca (patch)
tree2ec6199ab10fb632b9352d3a8acd1cb2f2e78132 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentff30436dc5e54b85b5b942a3a84d0720f657b36f (diff)
downloadllvm-d59b4acf80d59c461decd41400988febaf0af8ca.zip
llvm-d59b4acf80d59c461decd41400988febaf0af8ca.tar.gz
llvm-d59b4acf80d59c461decd41400988febaf0af8ca.tar.bz2
[analyzer][ctu] Reland "Avoid parsing invocation list again and again..
..during on-demand parsing of CTU" During CTU, the *on-demand parsing* will read and parse the invocation list to know how to compile the file being imported. However, it seems that the invocation list will be parsed again if a previous parsing has failed. Then, parse again and fail again. This patch tries to overcome the problem by storing the error code during the first parsing, and re-create the stored error during the later parsings. Reland without test. Reviewed By: steakhal Patch By: OikawaKirie! Differential Revision: https://reviews.llvm.org/D101763
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions