diff options
author | Lang Hames <lhames@gmail.com> | 2021-12-07 12:22:30 +1100 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-12-07 14:28:31 +1100 |
commit | 02095f2dd7d96768432af8a53e2d743e881e7447 (patch) | |
tree | a6ebe7a14dd8a34267a1809a488386254a763496 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ce25eb12dd5abae6c769168a70a8f377b608228c (diff) | |
download | llvm-02095f2dd7d96768432af8a53e2d743e881e7447.zip llvm-02095f2dd7d96768432af8a53e2d743e881e7447.tar.gz llvm-02095f2dd7d96768432af8a53e2d743e881e7447.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions