diff options
author | Lang Hames <lhames@gmail.com> | 2020-06-02 21:31:26 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-06-03 11:08:14 -0700 |
commit | d27cbf03cf9c43b4b98f031d63f23cfcfe3d587a (patch) | |
tree | 98ffad57848c9c111f7af1abff7bc08f701e3259 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 9f8ea2e6cf7c855aa4f89993a6c696390cb07d07 (diff) | |
download | llvm-d27cbf03cf9c43b4b98f031d63f23cfcfe3d587a.zip llvm-d27cbf03cf9c43b4b98f031d63f23cfcfe3d587a.tar.gz llvm-d27cbf03cf9c43b4b98f031d63f23cfcfe3d587a.tar.bz2 |
[JITLink] Skip debug sections in MachO objects.
Debug sections will not be linked into the final executable and may contain
ambiguous relocations*. Skipping them avoids both some unnecessary processing
cost and the hassle of dealing with the problematic relocations.
* E.g. __debug_ranges contains non-extern relocations to the end of functions
hat begin with named symbols. Under the usual rules for interpreting non-extern
relocations these will be incorrectly associated with the following block, or
no block at all (if there is a gap between one block and the next).
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions