From 53659e8676f606010d57c591bbe54f994b1e4a84 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 4 Apr 2002 19:24:11 +0000 Subject: Add debug support llvm-svn: 2105 --- llvm/lib/Bytecode/Reader/ReaderInternals.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/lib/Bytecode/Reader') diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h index d36ea6def62..47cde2adc0e 100644 --- a/llvm/lib/Bytecode/Reader/ReaderInternals.h +++ b/llvm/lib/Bytecode/Reader/ReaderInternals.h @@ -52,6 +52,10 @@ public: std::string getError() const { return Error; } + void dump() const { + cerr << "BytecodeParser instance!\n"; + } + private: // All of this data is transient across calls to ParseBytecode Module *TheModule; // Current Module being read into... -- cgit v1.2.3