debuginfo: Add LLDB autotests to debuginfo test suite.
This commit adds LLDB autotests to the test suite but does not activate them by default yet.
This commit is contained in:
parent
b56ef794a0
commit
c7f45a9458
82 changed files with 3315 additions and 260 deletions
|
@ -12,6 +12,9 @@
|
|||
// ignore-android: FIXME(#10381)
|
||||
|
||||
// compile-flags:-g
|
||||
|
||||
// === GDB TESTS ===================================================================================
|
||||
|
||||
// gdb-command:set print union on
|
||||
// gdb-command:rbreak zzz
|
||||
// gdb-command:run
|
||||
|
@ -29,6 +32,23 @@
|
|||
// gdb-command:print univariant
|
||||
// gdb-check:$4 = {{-1}}
|
||||
|
||||
|
||||
// === LLDB TESTS ==================================================================================
|
||||
|
||||
// lldb-command:run
|
||||
|
||||
// lldb-command:print case1
|
||||
// lldb-check:[...]$0 = Case1(0, 31868, 31868, 31868, 31868)
|
||||
|
||||
// lldb-command:print case2
|
||||
// lldb-check:[...]$1 = Case2(0, 286331153, 286331153)
|
||||
|
||||
// lldb-command:print case3
|
||||
// lldb-check:[...]$2 = Case3(0, 6438275382588823897)
|
||||
|
||||
// lldb-command:print univariant
|
||||
// lldb-check:[...]$3 = TheOnlyCase(-1)
|
||||
|
||||
#![allow(unused_variable)]
|
||||
|
||||
// The first element is to ensure proper alignment, irrespective of the machines word size. Since
|
||||
|
@ -70,7 +90,7 @@ fn main() {
|
|||
|
||||
let univariant = TheOnlyCase(-1);
|
||||
|
||||
zzz();
|
||||
zzz(); // #break
|
||||
}
|
||||
|
||||
fn zzz() {()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue