[PATCH] D132600: [llvm-profdata] Handle internal linkage functions in profile supplementation

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 10:50:53 PDT 2022


davidxl added inline comments.


================
Comment at: llvm/tools/llvm-profdata/llvm-profdata.cpp:564
+  auto buildStaticFuncMap = [&StaticFuncMap,
+                             SampleProfileHasFUnique](const StringRef &Name) {
+    std::string Prefixes[] = {".cpp:", "cc:", ".c:", ".hpp:", ".h:"};
----------------
no need for & for StringRef


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132600/new/

https://reviews.llvm.org/D132600



More information about the llvm-commits mailing list