|
6 | 6 | // lldb-command:run |
7 | 7 |
|
8 | 8 | // lldb-command:print os_string |
9 | | -// lldbg-check:[...]os_string = "A∆й中" [...] |
| 9 | +// lldbr-check:[...]os_string = "A∆й中" [...] |
| 10 | +// lldbg-check:[...]$0 = "A∆й中" [...] |
10 | 11 | // lldb-command:print empty_os_string |
11 | | -// lldbg-check:[...]empty_os_string = "" [...] |
| 12 | +// lldbr-check:[...]empty_os_string = "" [...] |
| 13 | +// lldbg-check:[...]$1 = "" [...] |
12 | 14 | // lldb-command:print c_string1 |
13 | | -// lldbg-check:[...]c_string1 = "A∆й中" [...] |
| 15 | +// lldbr-check:[...]c_string1 = "A∆й中" [...] |
| 16 | +// lldbg-check:[...]$2 = "A∆й中" [...] |
14 | 17 | // lldb-command:print path_buf |
15 | | -// lldbg-check:[...]path_buf = "/a/b/∂" [...] |
| 18 | +// lldbr-check:[...]path_buf = "/a/b/∂" [...] |
| 19 | +// lldbg-check:[...]$3 = "/a/b/∂" [...] |
16 | 20 | // lldb-command:print empty_path_buf |
17 | | -// lldbg-check:[...]empty_path_buf = "" [...] |
| 21 | +// lldbr-check:[...]empty_path_buf = "" [...] |
| 22 | +// lldbg-check:[...]$4 = "" [...] |
18 | 23 | // lldb-command:print os_str1 |
19 | | -// lldbg-check:[...]os_str1 = [...] "A∆й中" |
| 24 | +// lldbr-check:[...]os_str1 = [...] "A∆й中" |
| 25 | +// lldbg-check:[...]$5 = [...] "A∆й中" |
20 | 26 | // lldb-command:print os_str2 |
21 | | -// lldbg-check:[...]os_str2 = [...] "A∆й中" |
| 27 | +// lldbr-check:[...]os_str2 = [...] "A∆й中" |
| 28 | +// lldbg-check:[...]$6 = [...] "A∆й中" |
22 | 29 | // lldb-command:print empty_os_str |
23 | | -// lldbg-check:[...]empty_os_str = [...] "" |
| 30 | +// lldbr-check:[...]empty_os_str = [...] "" |
| 31 | +// lldbg-check:[...]$7 = [...] "" |
24 | 32 | // lldb-command:print path1 |
25 | | -// lldbg-check:[...]path1 = [...] "/a/b/∂" |
| 33 | +// lldbr-check:[...]path1 = [...] "/a/b/∂" |
| 34 | +// lldbg-check:[...]$8 = [...] "/a/b/∂" |
26 | 35 | // lldb-command:print empty_path |
27 | | -// lldbg-check:[...]empty_path = [...] "" |
| 36 | +// lldbr-check:[...]empty_path = [...] "" |
| 37 | +// lldbg-check:[...]$9 = [...] "" |
28 | 38 | // lldb-command:print c_str1 |
29 | | -// lldbg-check:[...]c_str1 = [...] "abcd" |
| 39 | +// lldbr-check:[...]c_str1 = [...] "abcd" |
| 40 | +// lldbg-check:[...]$10 = [...] "abcd" |
30 | 41 |
|
31 | 42 | // === GDB TESTS ================================================================================== |
32 | 43 |
|
33 | 44 | // gdb-command:run |
34 | 45 |
|
35 | 46 | // gdb-command:print os_string |
36 | | -// gdbg-check:[...]$1 = "A∆й中" |
| 47 | +// gdb-check:[...]$1 = "A∆й中" |
37 | 48 | // gdb-command:print empty_os_string |
38 | | -// gdbg-check:[...]$2 = "" |
| 49 | +// gdb-check:[...]$2 = "" |
39 | 50 |
|
40 | 51 |
|
41 | 52 | use std::ffi::{CStr, CString, OsStr, OsString}; |
|
0 commit comments