[all-commits] [llvm/llvm-project] 9f733f: [LLD][COFF] Make /wholearchive thin-archive member...

bd1976bris via All-commits all-commits at lists.llvm.org
Tue Jul 22 08:57:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f733f4324412ef89cc7729bf027cdcab912ceff
      https://github.com/llvm/llvm-project/commit/9f733f4324412ef89cc7729bf027cdcab912ceff
  Author: bd1976bris <Ben.Dunbobbin at sony.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/test/COFF/thin-archive.s

  Log Message:
  -----------
  [LLD][COFF] Make /wholearchive thin-archive member identifiers consistent (#145487)

A thin archive is an archive/library format where the archive itself
contains only references to member object files on disk, rather than
embedding the file contents.

For the non-/wholearchive case, we use the path to the archive member as
the identifier for thin-archive members (see comments in
`enqueueArchiveMember`). This patch modifies the /wholearchive path to
behave the same way.

Apart from consistency, my motivation for fixing this is DTLTO
(#126654), where having the member identifier be the path on disk allows
distribution of bitcode members during ThinLTO.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list