[PATCH] D59025: Add --add-ghashes to llvm-objcopy to append a .debug$H to coff objects
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 12:32:05 PDT 2019
aganea added a comment.
In D59025#1433050 <https://reviews.llvm.org/D59025#1433050>, @jhenderson wrote:
> 2. There's a real-world use-case (which could be as simple as significantly simplifying our own testing or whatever).
There's a strong industrial use-case here, which is to use MSVC for compilation and LLD for linking.
MSVC currently doesn't support (yet?) `.debug$H` streams, and this patch provides a workaround. This inherently makes linking with LLD faster, by allowing compilation with MSVC + `.debug$H` computation on remote PCs (when using distributed compilation).
Without this patch, `.debug$H` computation is done locally by LLD, which significantly increases link time.
In D59025#1428431 <https://reviews.llvm.org/D59025#1428431>, @rupprecht wrote:
> I've never heard of ghashes
Worth the read: http://blog.llvm.org/2018/01/
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59025/new/
https://reviews.llvm.org/D59025
More information about the llvm-commits
mailing list