<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 7, 2016 at 8:07 AM, David Blaikie via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sounds plausible - as for which direction to go, I don't know (it's hardly my area of expertise) though the bitcode/module-agnostic version does seem preferable. Is there any prior art in the area? One or more linkers that already support the sort of feature you've described (so the linker looks for the special object file section with the info, rather than the compile driver?)</div></blockquote><div><br></div><div>We already implement autolinking on Mac and Windows, but not Linux. So far as I know there is no way for an ELF object file to tell the linker to pull in more libraries, but MachO and COFF can do this.</div></div></div></div>