[PATCH] LibDriver, llvm-lib: introduce.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sat Jun 6 10:25:52 PDT 2015


The lib format is really similar to the .a format.

I guess the only question I have about this direction is how would it
compare with having lld fork+exec llvm-lib.exe and implementing
llvm-lib.exe in the same binary as llvm-ar.exe (similar to how we do
for llvm-ranlib.exe).



On 5 June 2015 at 23:32, Peter Collingbourne <peter at pcc.me.uk> wrote:
> Hi rafael,
>
> llvm-lib is intended to be a lib.exe compatible utility that also
> understands bitcode. The implementation lives in a library so that
> lld can use it to implement /lib.
>
> http://reviews.llvm.org/D10297
>
> Files:
>   include/llvm/LibDriver/LibDriver.h
>   lib/CMakeLists.txt
>   lib/LLVMBuild.txt
>   lib/LibDriver/CMakeLists.txt
>   lib/LibDriver/LLVMBuild.txt
>   lib/LibDriver/LibDriver.cpp
>   lib/LibDriver/Options.td
>   test/Object/nm-archive.test
>   tools/CMakeLists.txt
>   tools/LLVMBuild.txt
>   tools/llvm-lib/CMakeLists.txt
>   tools/llvm-lib/LLVMBuild.txt
>   tools/llvm-lib/llvm-lib.cpp
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/



More information about the llvm-commits mailing list