[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
Tue Jan 31 11:08:18 PST 2017


davide added inline comments.


================
Comment at: lib/CodeGen/BackendUtil.cpp:805
+    else
+      PB.ProfileGenFile = "default_%m.profraw";
+  }
----------------
davidxl wrote:
> can you define a macro for the default profile file name to be shared?
Sure thing. I generally prefer a global `const std::string` (trying to avoid macros), is that the same to you?


https://reviews.llvm.org/D29309





More information about the llvm-commits mailing list