[all-commits] [llvm/llvm-project] 74a8fc: [LinkerWrapper] Fix save-temps and argument name

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jul 8 08:38:53 PDT 2022


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

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper] Fix save-temps and argument name

Summary:
The previous path reworked some handling of temporary files which
exposed some bugs related to capturing local state by reference in the
callback labmda. Squashing this by copying in everything instead. There
was also a problem where the argument name was changed for
`--bitcode-library=` but clang still used `--target-library=`.




More information about the All-commits mailing list