Try fixing debuginfo
test.
This commit is contained in:
parent
40f8227d6d
commit
ecee730c45
@ -15,5 +15,5 @@ type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)C
|
||||
type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)Ref<.+>$" --category Rust
|
||||
type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)RefMut<.+>$" --category Rust
|
||||
type summary add -F lldb_lookup.summary_lookup -e -x -h "^(core::([a-z_]+::)+)RefCell<.+>$" --category Rust
|
||||
type summary add -F lldb_lookup.summary_lookup -e -x -h "^core::num::([a-z_]+::)*NonZero.+$" --category Rust
|
||||
type summary add -F lldb_lookup.summary_lookup -e -x -h "^core::num::([a-z_]+::)*NonZero<.+>$" --category Rust
|
||||
type category enable Rust
|
||||
|
@ -42,7 +42,10 @@
|
||||
</Type>
|
||||
|
||||
<Type Name="core::num::nonzero::NonZero<*>">
|
||||
<DisplayString>{__0}</DisplayString>
|
||||
<DisplayString>{__0.__0}</DisplayString>
|
||||
<Expand>
|
||||
<ExpandedItem>__0.__0</ExpandedItem>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="core::num::wrapping::Wrapping<*>">
|
||||
|
@ -50,7 +50,7 @@ STD_CELL_REGEX = re.compile(r"^(core::(\w+::)+)Cell<.+>$")
|
||||
STD_REF_REGEX = re.compile(r"^(core::(\w+::)+)Ref<.+>$")
|
||||
STD_REF_MUT_REGEX = re.compile(r"^(core::(\w+::)+)RefMut<.+>$")
|
||||
STD_REF_CELL_REGEX = re.compile(r"^(core::(\w+::)+)RefCell<.+>$")
|
||||
STD_NONZERO_NUMBER_REGEX = re.compile(r"^core::num::([a-z_]+::)*NonZero.+$")
|
||||
STD_NONZERO_NUMBER_REGEX = re.compile(r"^core::num::([a-z_]+::)*NonZero<.+>$")
|
||||
|
||||
TUPLE_ITEM_REGEX = re.compile(r"__\d+$")
|
||||
|
||||
|
@ -1495,7 +1495,7 @@ impl<'test> TestCx<'test> {
|
||||
"^(core::([a-z_]+::)+)Ref<.+>$",
|
||||
"^(core::([a-z_]+::)+)RefMut<.+>$",
|
||||
"^(core::([a-z_]+::)+)RefCell<.+>$",
|
||||
"^core::num::([a-z_]+::)*NonZero.+$",
|
||||
"^core::num::([a-z_]+::)*NonZero<.+>$",
|
||||
];
|
||||
|
||||
// In newer versions of lldb, persistent results (the `$N =` part at the start of
|
||||
|
@ -203,40 +203,40 @@
|
||||
// lldb-command:run
|
||||
|
||||
// lldb-command:print/d nz_i8
|
||||
// lldb-check:[...]$0 = 11 { __0 = 11 }
|
||||
// lldb-check:[...]$0 = None { __0 = { 0 = 11 } }
|
||||
|
||||
// lldb-command:print nz_i16
|
||||
// lldb-check:[...]$1 = 22 { __0 = 22 }
|
||||
// lldb-check:[...]$1 = None { __0 = { 0 = 22 } }
|
||||
|
||||
// lldb-command:print nz_i32
|
||||
// lldb-check:[...]$2 = 33 { __0 = 33 }
|
||||
// lldb-check:[...]$2 = None { __0 = { 0 = 33 } }
|
||||
|
||||
// lldb-command:print nz_i64
|
||||
// lldb-check:[...]$3 = 44 { __0 = 44 }
|
||||
// lldb-check:[...]$3 = None { __0 = { 0 = 44 } }
|
||||
|
||||
// lldb-command:print nz_i128
|
||||
// lldb-check:[...]$4 = 55 { __0 = 55 }
|
||||
// lldb-check:[...]$4 = None { __0 = { 0 = 55 } }
|
||||
|
||||
// lldb-command:print nz_isize
|
||||
// lldb-check:[...]$5 = 66 { __0 = 66 }
|
||||
// lldb-check:[...]$5 = None { __0 = { 0 = 66 } }
|
||||
|
||||
// lldb-command:print/d nz_u8
|
||||
// lldb-check:[...]$6 = 77 { __0 = 77 }
|
||||
// lldb-check:[...]$6 = None { __0 = { 0 = 77 } }
|
||||
|
||||
// lldb-command:print nz_u16
|
||||
// lldb-check:[...]$7 = 88 { __0 = 88 }
|
||||
// lldb-check:[...]$7 = None { __0 = { 0 = 88 } }
|
||||
|
||||
// lldb-command:print nz_u32
|
||||
// lldb-check:[...]$8 = 99 { __0 = 99 }
|
||||
// lldb-check:[...]$8 = None { __0 = { 0 = 99 } }
|
||||
|
||||
// lldb-command:print nz_u64
|
||||
// lldb-check:[...]$9 = 100 { __0 = 100 }
|
||||
// lldb-check:[...]$9 = None { __0 = { 0 = 100 } }
|
||||
|
||||
// lldb-command:print nz_u128
|
||||
// lldb-check:[...]$10 = 111 { __0 = 111 }
|
||||
// lldb-check:[...]$10 = None { __0 = { 0 = 111 } }
|
||||
|
||||
// lldb-command:print nz_usize
|
||||
// lldb-check:[...]$11 = 122 { __0 = 122 }
|
||||
// lldb-check:[...]$11 = None { __0 = { 0 = 122 } }
|
||||
#![feature(generic_nonzero)]
|
||||
|
||||
use std::num::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user