[Lldb-commits] [lldb] [LLDB/Coredump] Only take the Pthread from start start to the stackpointer + red_zone (PR #92002)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon May 13 10:24:39 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();
----------------
bulbazord wrote:
Asking for my understanding:
This will only really do anything if the size of the red zone is greater than 0 right? Otherwise, this change is a no-op. Is that right?
https://github.com/llvm/llvm-project/pull/92002
More information about the lldb-commits
mailing list