[all-commits] [llvm/llvm-project] 0b705b: Reland "[LTO][LLD] Prevent invalid LTO libfunc tra...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Wed May 6 14:11:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b705b2b79431b27a359e8dcfb721e33594816fe
      https://github.com/llvm/llvm-project/commit/0b705b2b79431b27a359e8dcfb721e33594816fe
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M lld/COFF/InputFiles.cpp
    M lld/COFF/LTO.cpp
    M lld/COFF/LTO.h
    M lld/COFF/SymbolTable.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/LTO.cpp
    M lld/ELF/LTO.h
    A lld/test/COFF/lto-libcall-archive-bitcode.test
    A lld/test/ELF/lto/libcall-archive-bitcode.test
    A lld/test/wasm/lto/libcall-archive-bitcode.ll
    M lld/wasm/LTO.cpp
    M lld/wasm/LTO.h
    M lld/wasm/SymbolTable.cpp
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm/LTO/LTO.h
    M llvm/include/llvm/LTO/LTOBackend.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    A llvm/test/LTO/Resolution/X86/libcall-external.ll
    A llvm/test/LTO/Resolution/X86/libcall-in-thin-link.ll
    A llvm/test/LTO/Resolution/X86/libcall-in-tu.ll
    M llvm/tools/llvm-lto2/llvm-lto2.cpp

  Log Message:
  -----------
  Reland "[LTO][LLD] Prevent invalid LTO libfunc transforms (#164916)" (#196177)

This reverts commit 24154a55d698a98e7b6d2aae1778b79f15ce5b09.

The issue that lead to this being reverted was subtle, but entirely
downstream. Note that by making LTO DCE more conservative, this patch
may uncover latent undefined references caused by build system issues.



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