[PATCH] D133740: [ELF][Distributed ThinLTO] Do not generate empty index when bitcode object is linked

Wei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 09:22:31 PDT 2022


weiwang added a subscriber: christylee.
weiwang added a comment.

In D133740#3785549 <https://reviews.llvm.org/D133740#3785549>, @MaskRay wrote:

> For Bazel like build systems, it seems weird to have one object file in two modes, lazy and non-lazy. Do you know why it happens for your build system?
> I think the change will improve robustness of lld's distributed ThinLTO usage so we probably need to make the change.

We've seen the case of 2 same lazy objects in buck, and the cause for that is still a mystery to us. @christylee may know more.

I listed the case of lazy and non-lazy just for the sake of test coverage.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133740/new/

https://reviews.llvm.org/D133740



More information about the llvm-commits mailing list