[LLVMdev] Shared libraries, msan and -z,defs

Sergey Matveev earthdok at google.com
Wed Jan 21 10:28:55 PST 2015


I think we did something in ASan to address this issue.

On Wed, Jan 21, 2015 at 8:46 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > What about creating an msan interface DSO for the purposes of satisfying
> -z
> > defs? The executable will always be searched first, so the interface DSO
> > could be empty or full of ud2a.
>
> I like the idea. The ideal solution would probably be for the linkers
> to have a --not-needed command line option that prevents the .so from
> going in the DT_NEEDED, but one with just stubs is probably fine.
>
> Cheers,
> Rafael
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150121/0565b686/attachment.html>


More information about the llvm-dev mailing list