Skip to content

Commit fa7a958

Browse files
author
git apple-llvm automerger
committed
Merge commit '846c43327dc5' from swift/release/6.1 into stable/20240723
2 parents 13e2fcb + 846c433 commit fa7a958

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/test/API/functionalities/asan/swift/TestAsanSwift.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@ def do_test_libsanitizers(self):
134134
thread.GetStopReason(),
135135
lldb.eStopReasonInstrumentation)
136136

137+
self.runCmd("expr long $ar = (long)__asan_get_report_address()")
138+
137139
self.expect(
138-
"memory history `__asan_get_report_address()`",
140+
"memory history $ar",
139141
substrs=[
140142
'Memory allocated by Thread 1',
141143
'main.swift'])

0 commit comments

Comments
 (0)