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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jan 21 09:46:31 PST 2015


> 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



More information about the llvm-dev mailing list