[all-commits] [llvm/llvm-project] 02095f: [ORC] Pad section start to account for alignment o...
lhames via All-commits
all-commits at lists.llvm.org
Mon Dec 6 19:28:46 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02095f2dd7d96768432af8a53e2d743e881e7447
https://github.com/llvm/llvm-project/commit/02095f2dd7d96768432af8a53e2d743e881e7447
Author: Lang Hames <lhames at gmail.com>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/DebuggerSupportPlugin.cpp
A llvm/test/ExecutionEngine/JITLink/X86/Inputs/MachO_strong_def_extra.s
A llvm/test/ExecutionEngine/JITLink/X86/MachO_gdb_jit_nonzero_alignment_offsets.s
Log Message:
-----------
[ORC] Pad section start to account for alignment offset in MachO GDB JIT plugin.
In order to present a well-formed MachO debug object for debugger registration
the first block in each section must have a zero alignment offset (since there
is no way to represent a non-zero offset in a MachO section load command). This
patch updates the MachODebugObjectSynthesizer class to introduce a padding
padding block at the start of the section if necessary to guarantee a zero
alignment offset.
More information about the All-commits
mailing list