[PATCH] Add support for a directory argument to llvm-link

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Mar 14 14:42:10 PDT 2014


>> $ echo test.o > list
>> $ llvm-link -o foo.bc @list
>>
>> Can you use that instead?
>
>
> I think this is a useful feature to have. Response files force all invokers
> of llvm-link to know how to properly escape response files, which is an
> inconvenience (that I personally ran into last Summer; do you remember the
> hack that I had to use in order to feed all the files to llvm-link from the
> LTO script? This option would have simplified things a fair amount).

I remember, but as you said, it was a hack. I am not sure we want to
have a feature to support that.

llvm-link is just a developer tool. Any use of it for production
purposes is an unsupported hack. Which sometimes is the right thing to
do, but still a hack and still unsupported.

Cheers,
Rafael



More information about the llvm-commits mailing list