File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lldb/test/API/functionalities/asan/swift Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,14 @@ def do_test_asan(self):
74
74
# interceptors.
75
75
self .runCmd ("continue" )
76
76
77
+ self .runCmd ("expr let $targetptr = ptr" )
78
+
77
79
# the stop reason of the thread should be breakpoint.
78
80
self .expect ("thread list" , lldbtest .STOPPED_DUE_TO_BREAKPOINT ,
79
81
substrs = ['stopped' , 'stop reason = breakpoint' ])
80
82
81
83
self .expect (
82
- "memory history `ptr` " ,
84
+ "memory history $targetptr " ,
83
85
substrs = [
84
86
'Memory allocated by Thread 1' ,
85
87
'main.swift' ])
@@ -105,7 +107,7 @@ def do_test_asan(self):
105
107
break
106
108
107
109
self .expect (
108
- "memory history `ptr` " ,
110
+ "memory history $targetptr " ,
109
111
substrs = [
110
112
'Memory allocated by Thread 1' ,
111
113
'main.swift' ])
You can’t perform that action at this time.
0 commit comments