[PATCH] D29309: [PM] Add support for instrumented PGO in the new pass manager (clang-side)
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 14:27:33 PST 2017
davide added a subscriber: Bigcheese.
davide added inline comments.
================
Comment at: lib/CodeGen/BackendUtil.cpp:63-65
+// Default filename used for profile generation.
+static constexpr StringLiteral DefaultProfileGenName = "default_%m.profraw";
----------------
FWIW, this was part of `AssemblyHelper` initially.
I thought that worked, instead I got a linker error (undefined reference to etc..)
I can't claim to be a C++ expert so I asked @Bigcheese and he pointed out this could actually be a bug in clang.
https://reviews.llvm.org/D29309
More information about the llvm-commits
mailing list