[PATCH] D33529: Allow Unix libraries loaded with RTLD_LOCAL to be searched.

Vassil Vassilev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 03:36:47 PDT 2017


v.g.vassilev added a comment.

In https://reviews.llvm.org/D33529#764012, @marsupial wrote:

> What is the reasoning of it existence?
>  If adding libraries with RTLD_LOCAL is important, could that not be accomplished with an additional argument to **DynamicLibrary::getPermanentLibrary**?


We had this discussion in another review. The dlopen has to be outside, because `DynamicLibrary::getPermanentLibrary` symbol is not available until you call dlopen :)


https://reviews.llvm.org/D33529





More information about the llvm-commits mailing list