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

Evangelos Foutras via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 07:39:59 PDT 2018


foutrelis added a comment.

This proposed change <https://sourceware.org/bugzilla/show_bug.cgi?id=23460#c15> might avoid triggering the reloading issue with the LLVM gold plugin. (At least the simple `ar r ab.a a.o b.o` from my previous comment <https://sourceware.org/bugzilla/show_bug.cgi?id=23460#c14> doesn't trigger it.)

However, it still feels like a good idea to have the NODELETE flag set on LLVMgold.so, since we know it will throw an error if reloaded, so might as well guard against that.


Repository:
  rL LLVM

https://reviews.llvm.org/D50416





More information about the llvm-commits mailing list