[all-commits] [llvm/llvm-project] 4c483a: [AIX] Consolidate Crt0Basename logic

Michael Francis via All-commits all-commits at lists.llvm.org
Mon Mar 20 17:47:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c483a046d2ff29ec2fd5bad6305f97424a2b880
      https://github.com/llvm/llvm-project/commit/4c483a046d2ff29ec2fd5bad6305f97424a2b880
  Author: Michael Francis <michaelfrancis at ibm.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp

  Log Message:
  -----------
  [AIX] Consolidate Crt0Basename logic

when certain flags are specified, the Crt0 object files are not linked.
However, the logic for determining which files will always run. This
patch moves that logic so that the basename is only determined if it is
needed.

Differential Revision: https://reviews.llvm.org/D146443




More information about the All-commits mailing list