[llvm] [profcheck] Require `unknown` metadata have an origin parameter (PR #157594)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 12:03:16 PDT 2025
================
@@ -1495,7 +1495,7 @@ void DevirtModule::tryICallBranchFunnel(
if (!JT->getEntryCount().has_value()) {
// FIXME: we could pass through thinlto the necessary information.
- setExplicitlyUnknownFunctionEntryCount(*JT);
+ setExplicitlyUnknownFunctionEntryCount(*JT, DEBUG_TYPE);
----------------
snehasish wrote:
I guess DEBUG_TYPE stays defined in non-debug builds too based on the tests. What happens to passes which may not have DEBUG_TYPE defined unintentionally?
https://github.com/llvm/llvm-project/pull/157594
More information about the llvm-commits
mailing list