[all-commits] [llvm/llvm-project] d3897d: [ORC] Ensure that llvm_orc_registerJITLoaderGDBAll...
lhames via All-commits
all-commits at lists.llvm.org
Mon Aug 8 12:14:51 PDT 2022
Author: Lang Hames <lhames at gmail.com>
Date: 2022-08-08 (Mon, 08 Aug 2022)
[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
(cherry picked from commit b5f76d83ff8b57b2a6e4897beb388837803643da)
More information about the All-commits