diff options
| author | Markus Westerlind <markus.westerlind@distilnetworks.com> | 2020-10-05 10:50:51 +0200 |
|---|---|---|
| committer | Markus Westerlind <markus.westerlind@distilnetworks.com> | 2021-03-16 11:20:26 +0100 |
| commit | 7cf8d3ac2bfb9aad4bdd229efce8f1f2e773303c (patch) | |
| tree | 4a4de701bf3b3ea6f1c0ea53568a3c6cc0af0134 /src/etc/lldb_providers.py | |
| parent | 195ad4830e11a544391abe296b146450dea8411b (diff) | |
| download | rust-7cf8d3ac2bfb9aad4bdd229efce8f1f2e773303c.tar.gz rust-7cf8d3ac2bfb9aad4bdd229efce8f1f2e773303c.zip | |
feat: Update hashbrown to instantiate less llvm IR
Includes https://github.com/rust-lang/hashbrown/pull/204 and https://github.com/rust-lang/hashbrown/pull/205 (not yet merged) which both server to reduce the amount of IR generated for hashmaps. Inspired by the llvm-lines data gathered in https://github.com/rust-lang/rust/pull/76680
Diffstat (limited to 'src/etc/lldb_providers.py')
| -rw-r--r-- | src/etc/lldb_providers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/lldb_providers.py b/src/etc/lldb_providers.py index ca2685ca31f..702f2e82e4e 100644 --- a/src/etc/lldb_providers.py +++ b/src/etc/lldb_providers.py @@ -563,7 +563,7 @@ class StdHashMapSyntheticProvider: # HashSet wraps either std HashMap or hashbrown::HashSet, which both # wrap hashbrown::HashMap, so either way we "unwrap" twice. hashbrown_hashmap = self.valobj.GetChildAtIndex(0).GetChildAtIndex(0) - return hashbrown_hashmap.GetChildMemberWithName("table") + return hashbrown_hashmap.GetChildMemberWithName("table").GetChildMemberWithName("table") def has_children(self): # type: () -> bool |
