[Lldb-commits] [lldb] [LLDB/Coredump] Only take the Pthread from start start to the stackpointer + red_zone (PR #92002)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Mon May 13 10:33:58 PDT 2024
================
@@ -6410,12 +6410,20 @@ GetCoreFileSaveRangesStackOnly(Process &process,
if (!reg_ctx_sp)
continue;
const addr_t sp = reg_ctx_sp->GetSP();
+ const size_t red_zone = process.GetABI()->GetRedZoneSize();
----------------
Jlalond wrote:
Correct, but on systems where it would be greater than 0, we ensure we capture it for the memory dump as well.
https://github.com/llvm/llvm-project/pull/92002
More information about the lldb-commits
mailing list