[all-commits] [llvm/llvm-project] e7247f: [profiling] Move option declarations into headers

Tom Stellard via All-commits all-commits at lists.llvm.org
Sat Sep 30 18:52:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7247f1010b546ca4d98a6ee40414d2d1cae0381
      https://github.com/llvm/llvm-project/commit/e7247f1010b546ca4d98a6ee40414d2d1cae0381
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2023-09-30 (Sat, 30 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/include/llvm/ProfileData/ProfileCommon.h
    M llvm/include/llvm/Transforms/IPO/SampleProfile.h
    M llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
    M llvm/lib/Analysis/ProfileSummaryInfo.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/tools/llvm-profgen/CSPreInliner.cpp

  Log Message:
  -----------
  [profiling] Move option declarations into headers

This will make it possible to add visibility attributes to these
variables.  This also fixes some type mismatches between the
declaration and the definition.

Reviewed By: bogner, huangjd

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




More information about the All-commits mailing list