Author: David Spickett Date: 2024-10-11T11:00:07Z New Revision: d941254da94c8a5897689a74012a57de279c2c9e
URL: https://github.com/llvm/llvm-project/commit/d941254da94c8a5897689a74012a57de279c2c9e DIFF: https://github.com/llvm/llvm-project/commit/d941254da94c8a5897689a74012a57de279c2c9e.diff LOG: [lldb][test] Fix var name typo in TestProcessSaveCoreMinidump Added: Modified: lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py Removed: ################################################################################ diff --git a/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py b/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py index 4818dde4f3b838..808de687e6ea2e 100644 --- a/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py +++ b/lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py @@ -117,14 +117,14 @@ def test_save_linux_mini_dump(self): expected_number_of_threads = process.GetNumThreads() expected_threads = [] stacks_to_sp_map = {} - stakcs_to_registers_map = {} + stacks_to_registers_map = {} for thread_idx in range(process.GetNumThreads()): thread = process.GetThreadAtIndex(thread_idx) thread_id = thread.GetThreadID() expected_threads.append(thread_id) stacks_to_sp_map[thread_id] = thread.GetFrameAtIndex(0).GetSP() - stakcs_to_registers_map[thread_id] = thread.GetFrameAtIndex( + stacks_to_registers_map[thread_id] = thread.GetFrameAtIndex( 0 ).GetRegisters() @@ -138,7 +138,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) self.runCmd(base_command + " --style=modified-memory '%s'" % (core_dirty)) @@ -149,7 +149,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) self.runCmd(base_command + " --style=full '%s'" % (core_full)) @@ -160,7 +160,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) options = lldb.SBSaveCoreOptions() @@ -178,7 +178,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) options = lldb.SBSaveCoreOptions() @@ -195,7 +195,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) # Minidump can now save full core files, but they will be huge and @@ -214,7 +214,7 @@ def test_save_linux_mini_dump(self): expected_modules, expected_threads, stacks_to_sp_map, - stakcs_to_registers_map, + stacks_to_registers_map, ) self.assertSuccess(process.Kill()) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits