Skip to content
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

Rollup of 17 pull requests #70203

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
57b1e7a
Remove the call that makes miri fail
DutchGhost Mar 16, 2020
dcc2321
The const_forget_box was unused, and doesns't add anything to test by…
DutchGhost Mar 16, 2020
0760803
rather than removing const_forget_box, stick an attribute on it and e…
DutchGhost Mar 16, 2020
1a764a7
Add futures scaffolding to libcore
jonas-schievink Feb 10, 2020
18adc45
Improve debug log in MIR type check
jonas-schievink Feb 10, 2020
dfcfa17
Make async/await lowering use resume arguments
jonas-schievink Feb 10, 2020
f79a95a
Test that async/await compiles with `#![no_std]`
jonas-schievink Feb 10, 2020
b7fba97
Format
jonas-schievink Feb 10, 2020
37b5bfc
Improve comments in HIR lowering code
jonas-schievink Feb 10, 2020
be62aed
Remove useless derives on `GenFuture`
jonas-schievink Feb 11, 2020
6450101
Split up large `FnDecl` expression
jonas-schievink Feb 11, 2020
50b9d77
Make `ResumeTy` contents private
jonas-schievink Mar 3, 2020
e419168
Clarify comment
jonas-schievink Mar 3, 2020
78274bc
Don't create AST fragments when lowering to HIR
jonas-schievink Mar 4, 2020
db0126a
Add issue reference
jonas-schievink Mar 17, 2020
a5206f9
add `Option::{zip,zip_with}` methods under "option_zip" gate
WaffleLapkin Mar 13, 2020
d36d3fa
fixes to `Option::{zip,zip_with}`
WaffleLapkin Mar 18, 2020
4c363e3
Move the const-forget test into ui tests
DutchGhost Mar 18, 2020
4a2d54d
add delay_span_bug to TransmuteSizeDiff, just to be sure
RalfJung Mar 19, 2020
121bffc
make "other" in docs of `Option::{zip,zip_with}` monofont
WaffleLapkin Mar 19, 2020
bd6deaa
Derive PartialEq, Eq and Hash for RangeInclusive
Mar 19, 2020
0f0f254
Use erased regions in MIR
matthewjasper Mar 19, 2020
6570e27
Removed unused `Hasher` import.
Mar 19, 2020
fd0e15b
Make std::sync::Arc compatible with ThreadSanitizer
tmiasko Mar 20, 2020
d6f3a43
Update const_forget.rs
DutchGhost Mar 20, 2020
3f6236e
Fix oudated comment for NamedRegionMap
bjorn3 Mar 20, 2020
5444ade
Add tests for #58319 and #65131
rylev Mar 20, 2020
e61f126
Replace shared root with optional root
Mark-Simulacrum Mar 18, 2020
1c44f85
Remove shared root code and assertions from BTree nodes
Mark-Simulacrum Mar 18, 2020
3c04fda
Make functions dependent only on shared root avoidance safe
Mark-Simulacrum Mar 18, 2020
54b7c38
Drop NodeHeader type from BTree code
Mark-Simulacrum Mar 18, 2020
13f6d77
Simplify ensure_root_is_owned callers
Mark-Simulacrum Mar 18, 2020
4d85314
Update test commentary for shared root removal
Mark-Simulacrum Mar 20, 2020
2f7d7c0
must_use on split_off
kornelski Mar 20, 2020
9b9a22c
can_begin_literal_maybe_minus: `true` on `"-"? lit` NTs.
Centril Mar 16, 2020
bce7f6f
Fix debugger pretty printing of BTrees
Mark-Simulacrum Mar 18, 2020
32670dd
Clean up E0439 explanation
GuillaumeGomez Mar 20, 2020
5930da4
Abi::is_signed: assert that we are a Scalar
RalfJung Mar 20, 2020
0296d49
fix layout_test visitor name
RalfJung Mar 10, 2020
55c2cf2
add debug option to #[rustc_layout]
RalfJung Mar 10, 2020
d9f60bc
add a test for rustc_layout(debug)
RalfJung Mar 10, 2020
0d018a5
expand_include: set `.directory` to dir of included file.
Centril Mar 20, 2020
c62e36b
make rustc_layout also work for type definitions
RalfJung Mar 20, 2020
951a366
remove redundant import (clippy::single_component_path_imports)
matthiaskrgr Mar 19, 2020
ad00e91
remove redundant returns (clippy::needless_return)
matthiaskrgr Mar 20, 2020
7b49678
fmt
RalfJung Mar 20, 2020
b7c1bae
Rollup merge of #65097 - tmiasko:arc, r=Amanieu
Centril Mar 21, 2020
072b931
Rollup merge of #69033 - jonas-schievink:resume-with-context, r=tmandry
Centril Mar 21, 2020
88299a4
Rollup merge of #69901 - RalfJung:rustc_layout, r=eddyb
Centril Mar 21, 2020
44d76df
Rollup merge of #69997 - WaffleLapkin:option_zip, r=LukasKalbertodt
Centril Mar 21, 2020
5cce107
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
Centril Mar 21, 2020
6a90e51
Rollup merge of #70058 - Centril:fix-70050, r=petrochenkov
Centril Mar 21, 2020
79cb6b9
Rollup merge of #70111 - Mark-Simulacrum:btree-no-shared, r=cuviper
Centril Mar 21, 2020
f468f9b
Rollup merge of #70139 - RalfJung:delay, r=eddyb
Centril Mar 21, 2020
05818d2
Rollup merge of #70165 - matthewjasper:erase-more, r=nikomatsakis
Centril Mar 21, 2020
83c29ce
Rollup merge of #70166 - CDirkx:range-inclusive-derives, r=cramertj
Centril Mar 21, 2020
9fe4fab
Rollup merge of #70176 - rylev:ice-tests, r=Centril
Centril Mar 21, 2020
632fa8e
Rollup merge of #70177 - bjorn3:patch-2, r=Dylan-DPC
Centril Mar 21, 2020
54911be
Rollup merge of #70184 - Centril:include-mod-relativism, r=petrochenkov
Centril Mar 21, 2020
5663b71
Rollup merge of #70187 - matthiaskrgr:cl2ppy, r=Mark-Simulacrum
Centril Mar 21, 2020
b458197
Rollup merge of #70188 - GuillaumeGomez:cleanup-e0439, r=Dylan-DPC
Centril Mar 21, 2020
6790c43
Rollup merge of #70189 - RalfJung:is_signed, r=eddyb
Centril Mar 21, 2020
74c27b4
Rollup merge of #70194 - kornelski:must_split, r=joshtriplett
Centril Mar 21, 2020
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
34 changes: 21 additions & 13 deletions src/etc/gdb_rust_pretty_printing.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,12 +370,17 @@ def to_string(self):
("(len: %i)" % self.__val.get_wrapped_value()['map']['length']))

def children(self):
root = self.__val.get_wrapped_value()['map']['root']
node_ptr = root['node']
i = 0
for child in children_of_node(node_ptr, root['height'], False):
yield (str(i), child)
i = i + 1
prev_idx = None
innermap = GdbValue(self.__val.get_wrapped_value()['map'])
if innermap.get_wrapped_value()['length'] > 0:
root = GdbValue(innermap.get_wrapped_value()['root'])
type_name = str(root.type.ty.name).replace('core::option::Option<', '')[:-1]
root = root.get_wrapped_value().cast(gdb.lookup_type(type_name))
node_ptr = root['node']
i = 0
for child in children_of_node(node_ptr, root['height'], False):
yield (str(i), child)
i = i + 1


class RustStdBTreeMapPrinter(object):
Expand All @@ -391,13 +396,16 @@ def to_string(self):
("(len: %i)" % self.__val.get_wrapped_value()['length']))

def children(self):
root = self.__val.get_wrapped_value()['root']
node_ptr = root['node']
i = 0
for child in children_of_node(node_ptr, root['height'], True):
yield (str(i), child[0])
yield (str(i), child[1])
i = i + 1
if self.__val.get_wrapped_value()['length'] > 0:
root = GdbValue(self.__val.get_wrapped_value()['root'])
type_name = str(root.type.ty.name).replace('core::option::Option<', '')[:-1]
root = root.get_wrapped_value().cast(gdb.lookup_type(type_name))
node_ptr = root['node']
i = 0
for child in children_of_node(node_ptr, root['height'], True):
yield (str(i), child[0])
yield (str(i), child[1])
i = i + 1


class RustStdStringPrinter(object):
Expand Down
Loading