[all-commits] [llvm/llvm-project] e8bd2a: [clang][CodeGen] Break up TargetInfo.cpp [6/8]

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Sun Jun 4 04:35:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8bd2a57849e1c193341db99186abb903eb9579d
      https://github.com/llvm/llvm-project/commit/e8bd2a57849e1c193341db99186abb903eb9579d
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/CodeGen/TargetInfo.h

  Log Message:
  -----------
  [clang][CodeGen] Break up TargetInfo.cpp [6/8]

Make `qualifyWindowsLibrary` and `addStackProbeTargetAttributes`
protected members of `TargetCodeGenInfo`.
These are helper functions used by `getDependentLibraryOption` and
`setTargetAttributes` methods when targeting Windows. The change will
allow these functions to be reused after splitting `TargetInfo.cpp`.

Reviewed By: MaskRay

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




More information about the All-commits mailing list