diff options
| author | Alex Langford <alangford@apple.com> | 2025-11-03 10:20:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 10:20:08 -0800 |
| commit | 425fe3362d49ff1b2958f8ec9cae49e587b57e7e (patch) | |
| tree | b3090217fc799ab0b68aa36bb8b132c707d3e97e /llvm/lib/TextAPI/BinaryReader/DylibReader.cpp | |
| parent | 84a9ed25e816a51df765770e8867bccbde8da8e9 (diff) | |
| download | llvm-425fe3362d49ff1b2958f8ec9cae49e587b57e7e.zip llvm-425fe3362d49ff1b2958f8ec9cae49e587b57e7e.tar.gz llvm-425fe3362d49ff1b2958f8ec9cae49e587b57e7e.tar.bz2 | |
[lldb] Fix unaligned writes in ObjectFileELF (#165759)
The code to apply relocations was sometimes creating unaligned
destination pointers. Instead of giving them an explicit type (i.e.
`uint64_t *`) and forcing the compiler to generate unaligned stores,
mark the pointer as `void *`. The compiler will figure out the correct
series of store instructions.
Diffstat (limited to 'llvm/lib/TextAPI/BinaryReader/DylibReader.cpp')
0 files changed, 0 insertions, 0 deletions
