aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2022-08-03 17:42:17 -0700
committerLang Hames <lhames@gmail.com>2022-08-03 17:51:45 -0700
commitb5f76d83ff8b57b2a6e4897beb388837803643da (patch)
tree8f5ad6875df765a0d7fc61fd903a980955cf07fc /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent4229d2788b6eee3dee4c123455e7ca26371c611c (diff)
downloadllvm-b5f76d83ff8b57b2a6e4897beb388837803643da.zip
llvm-b5f76d83ff8b57b2a6e4897beb388837803643da.tar.gz
llvm-b5f76d83ff8b57b2a6e4897beb388837803643da.tar.bz2
[ORC] Ensure that llvm_orc_registerJITLoaderGDBAllocAction is linked into tools.
Add a reference to llvm_orc_registerJITLoaderGDBAllocAction from the linkComponents function in the lli, llvm-jitlink, and llvm-jitlink-executor tools. This ensures that llvm_orc_registerJITLoaderGDBAllocAction is not dead-stripped in optimized builds, which may cause failures in these tools. The llvm_orc_registerJITLoaderGDBAllocAction function was originally added with MachO debugging support in 69be352a1961a, but that patch failed to update the linkComponents functions. http://llvm.org/PR56817
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions