Skip to content

Rollup of 11 pull requests #81905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Feb 9, 2021
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
06a0269
Add checking for no_mangle to unsafe_code lint
Nemo157 May 14, 2020
66b2f9a
Add checking for export_name to unsafe_code lint
Nemo157 May 15, 2020
79b0ab5
Scope no_mangle and export_name warnings to the declarations name
Nemo157 Jun 20, 2020
9ed3661
Add note about why no_mangle and export_name are unsafe
Nemo157 Jun 20, 2020
7636de3
Point to no_mangle/export_name attribute when linting
Nemo157 Aug 4, 2020
fc8a3ad
Update for moved function from #74932
Nemo157 Aug 30, 2020
3545036
Add "every" as a doc alias for "all".
LunaBorowska Feb 3, 2021
7aa602b
Revert "Auto merge of #79637 - spastorino:revert-trait-inheritance-se…
spastorino Dec 3, 2020
7b69987
Add regression test for ICE that happened on incr comp
spastorino Feb 2, 2021
fd09255
Adapt to latest master changes by using PredicateKind
spastorino Feb 2, 2021
3e177a8
output rdj docs
aDotInTheVoid Feb 5, 2021
fb4e734
Prefer match intead of combinators to make some Box function inlineable
tesuji Feb 6, 2021
9ce070d
Resolve typedef in HashMap lldb pretty-printer only if possible
artemmukhin Feb 6, 2021
1b7309e
Expand the docs for ops::ControlFlow a bit
scottmcm Feb 7, 2021
6eb1bd4
parser: Fix panic in 'const impl' recovery
osa1 Feb 8, 2021
1774ec1
:arrow_up: rust-analyzer
lnicola Feb 8, 2021
8d17c6a
Anonymize late bound regions on transitive bounds that define assoc type
spastorino Feb 5, 2021
cadffa7
Fix pretty printer macro_rules with semicolon.
ehuss Feb 8, 2021
15de287
Remove outdated comment.
m-ou-se Feb 8, 2021
f8b330d
Rollup merge of #72209 - Nemo157:lint-no-mangle-in-unsafe-code, r=nik…
Dylan-DPC Feb 9, 2021
44e526b
Rollup merge of #80732 - spastorino:trait-inheritance-self2, r=nikoma…
Dylan-DPC Feb 9, 2021
52bc54e
Rollup merge of #81697 - xfix:every-doc-alias, r=Mark-Simulacrum
Dylan-DPC Feb 9, 2021
d19f375
Rollup merge of #81826 - tesuji:inline-box-zeros, r=Amanieu
Dylan-DPC Feb 9, 2021
1652759
Rollup merge of #81834 - ortem:fix-LLDB-hashmap-pretty-printers, r=Ma…
Dylan-DPC Feb 9, 2021
3619a62
Rollup merge of #81841 - aDotInTheVoid:rdj_docs, r=jyn514
Dylan-DPC Feb 9, 2021
a63085d
Rollup merge of #81849 - scottmcm:control-flow-comments, r=Mark-Simul…
Dylan-DPC Feb 9, 2021
9ab05b4
Rollup merge of #81876 - osa1:issue81806, r=matthewjasper
Dylan-DPC Feb 9, 2021
8de9c88
Rollup merge of #81882 - lnicola:rust-analyzer-2021-02-08, r=jonas-sc…
Dylan-DPC Feb 9, 2021
78c0153
Rollup merge of #81888 - ehuss:macro_rules-pp, r=petrochenkov
Dylan-DPC Feb 9, 2021
d2e204d
Rollup merge of #81896 - m-ou-se:oudated-comment, r=Mark-Simulacrum
Dylan-DPC Feb 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Resolve typedef in HashMap lldb pretty-printer only if possible
Previously, `GetTypedefedType` was invoked unconditionally.
But this did not work in case of `rust-lldb` without Rust patches
since there was no typedef actually.
  • Loading branch information
artemmukhin committed Feb 6, 2021
commit 9ce070d27ddbbae3004dd7af6ac6fca59c8b2e23
4 changes: 3 additions & 1 deletion src/etc/lldb_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,9 @@ def update(self):
ctrl = table.GetChildMemberWithName("ctrl").GetChildAtIndex(0)

self.size = table.GetChildMemberWithName("items").GetValueAsUnsigned()
self.pair_type = table.type.template_args[0].GetTypedefedType()
self.pair_type = table.type.template_args[0]
if self.pair_type.IsTypedefType():
self.pair_type = self.pair_type.GetTypedefedType()
self.pair_type_size = self.pair_type.GetByteSize()

self.new_layout = not table.GetChildMemberWithName("data").IsValid()
Expand Down