aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ControlFlowUtils.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2025-11-03 10:20:08 -0800
committerGitHub <noreply@github.com>2025-11-03 10:20:08 -0800
commit425fe3362d49ff1b2958f8ec9cae49e587b57e7e (patch)
treeb3090217fc799ab0b68aa36bb8b132c707d3e97e /llvm/lib/Transforms/Utils/ControlFlowUtils.cpp
parent84a9ed25e816a51df765770e8867bccbde8da8e9 (diff)
downloadllvm-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/Transforms/Utils/ControlFlowUtils.cpp')
0 files changed, 0 insertions, 0 deletions