about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-05 18:50:42 +0000
committerbors <bors@rust-lang.org>2021-04-05 18:50:42 +0000
commitd203fceeb12f8c0e3123fc45036575018d2f990a (patch)
treed4f50718089e426e6017d9f55e554b0a597f9db0 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent5a7a0ac51eefbdacc5b1763f8d49a787407afb34 (diff)
parent3194b26ab00447662897fdfb98c01160456f9e08 (diff)
downloadrust-d203fceeb12f8c0e3123fc45036575018d2f990a.tar.gz
rust-d203fceeb12f8c0e3123fc45036575018d2f990a.zip
Auto merge of #83406 - b-naber:issue-83510, r=lcnr
Prevent very long compilation runtimes in LateBoundRegionNameCollector

Fixes https://github.com/rust-lang/rust/issues/83150

On recursive types such as in the example given in https://github.com/rust-lang/rust/issues/83150, the current implementation of `LateBoundRegionNameCollector` has very long compilation runtimes. To prevent those we store the types visited in the `middle::ty::Visitor` implementation of `LateBoundRegionNameCollector` in a `SsoHashSet`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions