[lld] [llvm] [DTLTO][LLD][ELF] Support bitcode members of thin archives (PR #149425)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 23 06:32:33 PDT 2025
================
@@ -1770,10 +1801,13 @@ BitcodeFile::BitcodeFile(Ctx &ctx, MemoryBufferRef mb, StringRef archiveName,
// symbols later in the link stage). So we append file offset to make
// filename unique.
StringSaver &ss = ctx.saver;
- StringRef name = archiveName.empty()
- ? ss.save(path)
- : ss.save(archiveName + "(" + path::filename(path) +
- " at " + utostr(offsetInArchive) + ")");
+ StringRef name =
----------------
bd1976bris wrote:
I have split the logic up. See what you think.
https://github.com/llvm/llvm-project/pull/149425
More information about the llvm-commits
mailing list