[llvm] [MemProf] Avoid assertion checking loop under NDEBUG (NFC) (PR #138985)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed May 7 17:49:37 PDT 2025
================
@@ -5242,6 +5242,7 @@ bool MemProfContextDisambiguation::applyImport(Module &M) {
assert(AI != FS->allocs().end());
auto &AllocNode = *(AI++);
+#ifndef NDEBUG
// Sanity check that the MIB stack ids match between the summary and
// instruction metadata.
auto MIBIter = AllocNode.MIBs.begin();
----------------
teresajohnson wrote:
done
https://github.com/llvm/llvm-project/pull/138985
More information about the llvm-commits
mailing list