[PATCH] D147285: [Support] Extended llvm-profdata's merge functionality to exclude profiles from functions matching configurable patterns

Gerolf Hoflehner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 21:12:49 PDT 2023


Gerolf added inline comments.


================
Comment at: llvm/tools/llvm-profdata/llvm-profdata.cpp:1314
 
+    if (!ExcludeFuncs.empty())
+      exitWithError("-exclude-function is not supported with "
----------------
The check above is for !SuppInstrWithSample, so this code could issue a wrong error message.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147285



More information about the llvm-commits mailing list