&I);
}
+ // Don't recurse into !dbg attachments (leave that for verifyDebugInfo()),
+ // but at least check that it's a legal type.
+ if (MDNode *N = I.getDebugLoc().getAsMDNode()) {
+ Assert(isa<MDLocation>(N),
+ "invalid !dbg metadata attachment", &I, N);
+ }
+
InstsInThisBlock.insert(&I);
}