aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorElla Ma <alansnape3058@gmail.com>2021-05-25 09:19:14 +0200
committerBalazs Benics <balazs.benics@sigmatechnology.se>2021-05-25 09:19:14 +0200
commitdb8af0f21dc9aad4d336754c857c24470afe53e3 (patch)
tree9f5e324844960034862a355634e4a2868f08246f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentbf77317049a880af541e31ba7ea43cb229ee4c0f (diff)
downloadllvm-db8af0f21dc9aad4d336754c857c24470afe53e3.zip
llvm-db8af0f21dc9aad4d336754c857c24470afe53e3.tar.gz
llvm-db8af0f21dc9aad4d336754c857c24470afe53e3.tar.bz2
[analyzer][ctu] 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. 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