[Lldb-commits] [lldb] [LLDB][Minidumps] Read x64 registers as 64b and handle truncation in the file builder (PR #106473)

via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 18:17:38 PDT 2024


================
@@ -62,6 +63,17 @@ def verify_core_file(
             # Try to read just past the red zone and fail
             process.ReadMemory(sp - red_zone - 1, 1, error)
             self.assertTrue(error.Fail(), "No failure when reading past the red zone")
+            # Verify the registers are the same
+            self.assertTrue(thread_id, stacks_to_registers_map)
----------------
jeffreytan81 wrote:

I am not sure what is `self.assertTrue` here for. Do you mean `assertIn`?

https://github.com/llvm/llvm-project/pull/106473


More information about the lldb-commits mailing list