[all-commits] [llvm/llvm-project] 13f833: [Driver] Add -fsample-profile-use-profi

Zhang, Haoyu via All-commits all-commits at lists.llvm.org
Mon Nov 7 23:51:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13f83365cdb5bb752066ee8f4149ae24dfe46cf1
      https://github.com/llvm/llvm-project/commit/13f83365cdb5bb752066ee8f4149ae24dfe46cf1
  Author: haoyuintel <haoyu.zhang at intel.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/pgo-sample-use-profi.c

  Log Message:
  -----------
  [Driver] Add -fsample-profile-use-profi

This patch enable `-sample-profile-use-profi` in Clang frontend as user-facing
feature. By using this patch, we can use the cflag of `-fsample-profile-use-profi`
instead of `-mllvm -sample-profile-use-profi`.

Reviewed By: hans, MaskRay

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




More information about the All-commits mailing list