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 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
