[llvm-branch-commits] [lldb] [lldb] Let the process compare call frame addresses (PR #243488)
Sergei Barannikov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 17 06:48:45 PST 2026
s-barannikov wrote:
Can the stack growth direction change during execution? If it can't, would it be better make it a property of the target (ArchSpec) and just flip the polarity of [the comparison](https://github.com/llvm/llvm-project/blob/e115dd3a835d48c72a929bc48156bb2056e9ece0/lldb/source/Target/StackID.cpp#L91) if the property tells that the stack grows up? (This is what I've been doing downstream, on my target stack grows up.)
There are a few other places that will likely need to be updated to support upward-growing stack, look around uses of GetRedZoneSize.
Or am I getting this all wrong and the goal is completely different?
https://github.com/llvm/llvm-project/pull/243488
More information about the llvm-branch-commits
mailing list