[llvm] [StandardInstrumentations]Add support for numeric label (PR #148844)
Jamie Schmeiser via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 09:23:31 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");
----------------
jamieschmeiser wrote:
Is it possible for the label to be empty with your changes?
https://github.com/llvm/llvm-project/pull/148844
More information about the llvm-commits
mailing list