diff --git a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py --- a/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py +++ b/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py @@ -139,7 +139,6 @@ @skipUnlessDarwin @skipIfOutOfTreeDebugserver - @skipIfAsan # rdar://85954489 def test_launch_scripted_process_stack_frames(self): """Test that we can launch an lldb scripted process from the command line, check its process ID and read string from memory.""" diff --git a/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py b/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py --- a/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py +++ b/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py @@ -43,8 +43,9 @@ if error.Fail(): return data - data.SetData(error, bytes_read, self.corefile_target.GetByteOrder(), - self.corefile_target.GetAddressByteSize()) + data.SetDataWithOwnership(error, bytes_read, + self.corefile_target.GetByteOrder(), + self.corefile_target.GetAddressByteSize()) return data