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

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 18:23:17 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)
----------------
Jlalond wrote:

Yep, that was an overlook on my part.

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


More information about the lldb-commits mailing list