[all-commits] [llvm/llvm-project] 1bfa88: [LinkerWrapper] Remove stripping features from the...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 12 17:52:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bfa88d0c5ad9e5ef06b770e8ca4d6d3a3aaca2d
      https://github.com/llvm/llvm-project/commit/1bfa88d0c5ad9e5ef06b770e8ca4d6d3a3aaca2d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-05-12 (Thu, 12 May 2022)

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

  Log Message:
  -----------
  [LinkerWrapper] Remove stripping features from the linker wrapper

Summary:
The linker wrapper previously had functionality to strip the sections
manually. We don't use this at all because this is much better done by
the linker via the `SHF_EXCLUDE` flag. This patch simply removes the
support for thi sfeature to simplify the code.


  Commit: 8a0fb965f6992078bb3d8bd68d3995e1150fe442
      https://github.com/llvm/llvm-project/commit/8a0fb965f6992078bb3d8bd68d3995e1150fe442
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-05-12 (Thu, 12 May 2022)

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

  Log Message:
  -----------
  [LinkerWrapper] Group static libraries in their own buffer

Summary:
Static libraries need to be handled differently from regular inpout
files, namely they are loaded lazily. Previously we used a flag to
indicate a file camm from a static library. This patch simplifies this
by simply keeping a different array that contains the static libraries
so we don't need to parse them out again.


Compare: https://github.com/llvm/llvm-project/compare/2d7b49f38978...8a0fb965f699


More information about the All-commits mailing list