Preserve module source information in the ModuleID
llvm-svn: 5836
diff --git a/llvm/lib/Bytecode/Reader/ReaderInternals.h b/llvm/lib/Bytecode/Reader/ReaderInternals.h
index dd2a08f..a8528e4 100644
--- a/llvm/lib/Bytecode/Reader/ReaderInternals.h
+++ b/llvm/lib/Bytecode/Reader/ReaderInternals.h
@@ -52,7 +52,8 @@
freeTable(ModuleValues);
}
- Module *ParseBytecode(const uchar *Buf, const uchar *EndBuf);
+ Module *ParseBytecode(const uchar *Buf, const uchar *EndBuf,
+ const std::string &ModuleID);
std::string getError() const { return Error; }