This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
hoy marked an inline comment as done.
Closed by commit rGd3e2e3740d07: [CSSPGO] Passing the clang driver switch
-fpseudo-probe-for-profiling to theā¦ (authored by hoy).
wmi accepted this revision.
wmi added a comment.
LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
hoy marked an inline comment as done.
hoy added inline comments.
Comment at: clang/test/Driver/pseudo-probe-lto.c:6
+// RUN: %clang -### %t.o -target x86_64-unknown-linux -flto
-fno-pseudo-probe-for-profiling 2>&1 | FileCheck %s --check-prefix=NOPROBE
+// RUN: %clang -### %t.o -
hoy updated this revision to Diff 320686.
hoy added a comment.
Addressing Wei's comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/Too
hoy added inline comments.
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:609-610
+ // Pass an option to enable pseudo probe emission.
+ if (Args.hasFlag(options::OPT_fpseudo_probe_for_profiling,
+ options::OPT_fno_pseudo_probe_for_profiling))
+Cmd
wmi added inline comments.
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:609-610
+ // Pass an option to enable pseudo probe emission.
+ if (Args.hasFlag(options::OPT_fpseudo_probe_for_profiling,
+ options::OPT_fno_pseudo_probe_for_profiling))
+Cmd
hoy updated this revision to Diff 320680.
hoy added a comment.
Rebasing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonAr
wenlei accepted this revision.
wenlei added a comment.
This revision is now accepted and ready to land.
lgtm, thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
hoy updated this revision to Diff 318878.
hoy added a comment.
Addressing Wenleis' feedback.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driver
hoy added inline comments.
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:609
+ // Pass an option to enable pseudo probe emission.
+ if (Args.hasArg(options::OPT_fpseudo_probe_for_profiling))
+CmdArgs.push_back("-plugin-opt=pseudo-probe-for-profiling");
wenlei added inline comments.
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:609
+ // Pass an option to enable pseudo probe emission.
+ if (Args.hasArg(options::OPT_fpseudo_probe_for_profiling))
+CmdArgs.push_back("-plugin-opt=pseudo-probe-for-profiling");
-
hoy updated this revision to Diff 318714.
hoy added a comment.
Fixing test failure on Windows.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95271/new/
https://reviews.llvm.org/D95271
Files:
clang/include/clang/Driver/Options.td
clang/lib/Driv
hoy created this revision.
Herald added subscribers: wenlei, dang, steven_wu, hiraditya.
Herald added a reviewer: jansvoboda11.
hoy requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
As titled.
Repository:
rG LLVM Github Monorepo
https://
13 matches
Mail list logo