[all-commits] [llvm/llvm-project] 86a49a: [LinkerWrapper] Make ThinLTO work inside the linke...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jul 12 08:47:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86a49a4f4f50c2590716bdc440a97e89f5858a4f
      https://github.com/llvm/llvm-project/commit/86a49a4f4f50c2590716bdc440a97e89f5858a4f
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper] Make ThinLTO work inside the linker wrapper

Summary:
Previous assumptions held that the LTO stage would only have a single
output. This is incorrect when using thinLTO which outputs multiple
files. Additionally there were some bugs with how we hanlded input that
cause problems when performing thinLTO. This patch addresses these
issues.

The performance of Thin-LTO is currently pretty bad. But I am content to
leave it that way as long as it compiles.


  Commit: 1586b5952894c9ba1941fd38a1f7a6b8ca4ee8df
      https://github.com/llvm/llvm-project/commit/1586b5952894c9ba1941fd38a1f7a6b8ca4ee8df
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper] Clean-up unused definitions

Summary:

There are a few definitions that are unused or unnecessary after
previous changes, clean them up.


Compare: https://github.com/llvm/llvm-project/compare/4b95a5a77253...1586b5952894


More information about the All-commits mailing list