[all-commits] [llvm/llvm-project] 4f12a7: [llvm-lib] Ignore /LTCG option

pzhengqc via All-commits all-commits at lists.llvm.org
Fri May 27 11:39:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f12a721f1790f3fafadcd0ad4ce456bb0e04677
      https://github.com/llvm/llvm-project/commit/4f12a721f1790f3fafadcd0ad4ce456bb0e04677
  Author: Pengxuan Zheng <pzheng at quicinc.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M llvm/lib/ToolDrivers/llvm-lib/Options.td

  Log Message:
  -----------
  [llvm-lib] Ignore /LTCG option

"The /LTCG option to LIB specifies that the inputs from cl.exe include object
files generated by using the /GL compiler option."

Based on Microsoft's description
above (https://docs.microsoft.com/en-us/cpp/build/reference/running-lib?view=msvc-170),
there doesn't seem to be anything llvm-lib needs to do to support the flag.

Reviewed By: rnk

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




More information about the All-commits mailing list