-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Use print instead of po in debuginfo path test #156769
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: okay, so I did some more digging with the help of @NobodyNada (thanks!!), and this is what I can gather (likely contains inaccuracies, happy to be corrected):
Example failure (lldb 22): For our purposes, I do agree (now) that I however suggest only removing the diff --git a/tests/debuginfo/path.rs b/tests/debuginfo/path.rs
index 27b518fd897..2fffadd8510 100644
--- a/tests/debuginfo/path.rs
+++ b/tests/debuginfo/path.rs
@@ -8,12 +8,8 @@
//@ lldb-command:print pathbuf
//@ lldb-check:[...] "/some/path" { inner = "/some/path" { inner = { inner = size=10 { [0] = '/' [1] = 's' [2] = 'o' [3] = 'm' [4] = 'e' [5] = '/' [6] = 'p' [7] = 'a' [8] = 't' [9] = 'h' } } } }
-//@ lldb-command:po pathbuf
-//@ lldb-check:"/some/path"
//@ lldb-command:print path
//@ lldb-check:[...] "/some/path" { data_ptr = [...] length = 10 }
-//@ lldb-command:po path
-//@ lldb-check:"/some/path" |
Uh oh!
There was an error while loading. Please reload this page.