[all-commits] [llvm/llvm-project] 5529a7: [ELF][Distributed ThinLTO] Do not generate empty i...

Wei Wang via All-commits all-commits at lists.llvm.org
Tue Sep 13 14:36:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5529a7524ad72962deba9ba061296f8b169d938f
      https://github.com/llvm/llvm-project/commit/5529a7524ad72962deba9ba061296f8b169d938f
  Author: Wei Wang <apollo.mobility at gmail.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M lld/ELF/LTO.cpp
    M lld/test/ELF/lto/thinlto-index-only.ll

  Log Message:
  -----------
  [ELF][Distributed ThinLTO] Do not generate empty index when bitcode object is linked

When the same bitcode object file is given multiple times from the Command-line
as lazy object file, empty index is generated which overwrites the one from thinlink.
This could cause undefined symbols during final link.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D133740




More information about the All-commits mailing list