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):
7474 # interceptors.
7575 self .runCmd ("continue" )
7676
77+ self .runCmd ("expr let $targetptr = ptr" )
78+
7779 # the stop reason of the thread should be breakpoint.
7880 self .expect ("thread list" , lldbtest .STOPPED_DUE_TO_BREAKPOINT ,
7981 substrs = ['stopped' , 'stop reason = breakpoint' ])
8082
8183 self .expect (
82- "memory history `ptr` " ,
84+ "memory history $targetptr " ,
8385 substrs = [
8486 'Memory allocated by Thread 1' ,
8587 'main.swift' ])
@@ -105,7 +107,7 @@ def do_test_asan(self):
105107 break
106108
107109 self .expect (
108- "memory history `ptr` " ,
110+ "memory history $targetptr " ,
109111 substrs = [
110112 'Memory allocated by Thread 1' ,
111113 'main.swift' ])
You can’t perform that action at this time.
0 commit comments