diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2024-07-23 11:43:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 09:43:30 -0700 |
| commit | ca076f7a63f6a80e2e38315ec462be354b196b8d (patch) | |
| tree | e7e3bc2bf12709c54cc49029367e9cb47c4c050d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 5623b06f30e5e55aab0cd664af72d33c4bfa9b84 (diff) | |
[LLVM] [MC] Update frame layout & CFI generation to handle frames larger than 2gb (#99263)
Rebase of #84114. I've only included the core changes to frame layout
calculation & CFI generation which sidesteps the regressions found after
merging #84114. Since these changes are a necessary precursor to the
overall fix and are themselves slightly beneficial as CFI is now
generated correctly, I think it is reasonable to merge this first step.
---
For very large stack frames, the offset from the stack pointer to a
local can be more than 2^31 which overflows various `int` offsets in the
frame lowering code.
This patch updates the frame lowering code to calculate the offsets as
64-bit values and fixes CFI to use the corrected sizes.
After this patch, additional work is needed to fix offset truncations in
each target's codegen.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
