about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-19 06:27:17 +0000
committerbors <bors@rust-lang.org>2021-08-19 06:27:17 +0000
commit4968a8bbd19cea8713aabff9b1575ec60e208670 (patch)
tree6b294deb64d92a293c68658f0588dc5e3a2fb4f9 /compiler/rustc_llvm/llvm-wrapper
parentad1eaffc7e24f497e969c47f400ad20ae383f9aa (diff)
parent77b02eed7b4d15e5395019d02e8c60fdfdf3ee9c (diff)
downloadrust-4968a8bbd19cea8713aabff9b1575ec60e208670.tar.gz
rust-4968a8bbd19cea8713aabff9b1575ec60e208670.zip
Auto merge of #87986 - Aaron1011:incr-double-panic, r=estebank
Prevent double panic when handling incremental fingerprint mismatch

When an incremental fingerprint mismatch occurs, we debug-print
our `DepNode` and query result. Unfortunately, the debug printing
process may cause us to run additional queries, which can result
in a re-entrant fingerprint mismatch error.

To avoid a double panic, this commit adds a thread-local variable
to detect re-entrant calls.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions