Add dump method for debugging.
[oota-llvm.git] / include / llvm / Metadata.h
index 887e33c7a18180cd6f456509ea02e170f326cf7d..59b4b2619629ee9cd33bc378c11e442126435fa8 100644 (file)
@@ -225,6 +225,9 @@ public:
 
   /// print - Implement operator<< on NamedMDNode.
   void print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW = 0) const;
+
+  /// dump() - Allow printing of NamedMDNodes from the debugger.
+  void dump() const;
 };
 
 } // end llvm namespace