[llvm] [StandardInstrumentations]Add support for numeric label (PR #148844)
Ruoyu Qiu via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 22:31:07 PDT 2025
================
@@ -1803,6 +1808,8 @@ class DotCfgDiffNode {
// The label of the basic block
StringRef getLabel() const {
assert(Data[0] && "Expected Data[0] to be set.");
+ assert((Data[0]->getLabel().empty() || Data[0]->getLabel() == Label) &&
+ "Unexpected label");
----------------
cabbaken wrote:
I'm sorry for this. That’s debug code I left in by mistake; it shouldn’t be in the PR.
https://github.com/llvm/llvm-project/pull/148844
More information about the llvm-commits
mailing list