diff options
| author | macurtis-amd <macurtis@amd.com> | 2025-02-04 07:12:14 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 07:12:14 -0600 |
| commit | 69f202bf366a9c4c667d8c117d02ccff15705216 (patch) | |
| tree | bf177003fec6b8ae9790cba671a03453030f2c08 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | 8149cbfecdaf0ac8e5a9f38a87f30c89ddc001a4 (diff) | |
| download | llvm-69f202bf366a9c4c667d8c117d02ccff15705216.zip llvm-69f202bf366a9c4c667d8c117d02ccff15705216.tar.gz llvm-69f202bf366a9c4c667d8c117d02ccff15705216.tar.bz2 | |
[llvm][X86] Fix merging of large sp updates (#125007)
In cases where `emitSPUpdate` produced multiple adds:
```
call foo
add 0x7FFFFFFF <--chunk size
add ...
```
`mergeSPUpdates` would incorrectly adjust the offset of the first add
producing an invalid immediate value.
This change teaches `mergeSPUpdates` to look for a subsequent add if
updating the current one would exceed the chunk size.
@phoebewang @mconst
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
