HomePhabricator

[cmake] Prevent LLVMgold.so from being unloaded on Linux

Description

[cmake] Prevent LLVMgold.so from being unloaded on Linux

Extend the fix from D40459 to also apply to modules such as the LLVM
gold plugin. This is needed because current binutils master (and future
binutils 2.32) calls dlclose() on bfd plugins as part of a recent fix
for https://sourceware.org/bugzilla/show_bug.cgi?id=23460.

Patch by Evangelos Foutras!

Differential Revision: https://reviews.llvm.org/D50416

Details

Committed
hansAug 16 2018, 8:12 AM
Differential Revision
D50416: [cmake] Prevent LLVMgold.so from being unloaded on Linux
Parents
rL339882: Merging r339874:
Branches
Unknown
Tags
Unknown