[PATCH] [lld] [mach-o] Support -l and -syslibroot options

Nick Kledzik kledzik at apple.com
Tue Jul 8 12:16:56 PDT 2014


On Jul 8, 2014, at 2:27 AM, Tim Northover <t.p.northover at gmail.com> wrote:

> Hi Nick,
> 
> On 7 July 2014 21:50, kledzik at apple.com <kledzik at apple.com> wrote:
>> My suggestion is to add a hidden linker option* and change all uses of llvm::sys::fs::exists() to call a new MachOLinkingContext::fileExists(StringRef) method.
> 
> I don't think that will work either, at least not universally: it
> checks that we look for a file, but not what we do with it once found.
> There may well be a use for such an option, but tests like this are
> needed too.
Can you give me an example where “what we do with it” matters?  

-Nick



More information about the llvm-commits mailing list