[llvm] r268106 - Differential Revision: http://reviews.llvm.org/D19733
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 10:27:55 PDT 2016
.
>
> Yes, that should be possible. Even if the modules are compiled as
> -fPIC, if they end up in an executable -fPIE can be implicitly
> assumed. Quick question though, what do you get from using -fPIC with
> LTO rather than explicitly using -fPIE?
Build simplicity. We do that in llvm since some files end up being used
both in libraries and executables. Otherwise we would have to compile them
twice.
Cheers,
Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/e1abc5ce/attachment.html>
More information about the llvm-commits
mailing list