diff options
| author | Florian Hahn <florian.hahn@arm.com> | 2017-06-18 16:58:54 +0100 |
|---|---|---|
| committer | Florian Hahn <florian.hahn@arm.com> | 2017-06-18 17:01:25 +0100 |
| commit | 8723f287726073b43d3946838d930ce108d52988 (patch) | |
| tree | 233ff8afac17f94a7b130c8ed825c5233bb5b6d2 /src/test/run-pass/thinlto | |
| parent | 78d8416caf65cfb50de61bb9423e9efa026bd45a (diff) | |
| download | rust-8723f287726073b43d3946838d930ce108d52988.tar.gz rust-8723f287726073b43d3946838d930ce108d52988.zip | |
rustc: Check if def_path_hash_to_def_id is populated before accessing it.
Without this patch, there is an ICE when running rustc with RUST_LOG=debug. This patch updates extract_def_id to check if the map has been populated before accessing it. This fixes the problem, but maybe we do not need to compute the incremental hashes maps in the first place when we are not in incremental mode?
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
