aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/ReaderInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-22 18:02:52 +0000
committerChris Lattner <sabre@nondot.org>2003-04-22 18:02:52 +0000
commit75f20532ec768308767328a1234cbea38d115e6a (patch)
tree641aae08d612db6f1d92fd7d32421474b41affab /lib/Bytecode/Reader/ReaderInternals.h
parent37f59419b8680fd1814e71387c8354ad64bd670b (diff)
Preserve module source information in the ModuleID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r--lib/Bytecode/Reader/ReaderInternals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h
index dd2a08fcdb..a8528e4113 100644
--- a/lib/Bytecode/Reader/ReaderInternals.h
+++ b/lib/Bytecode/Reader/ReaderInternals.h
@@ -52,7 +52,8 @@ public:
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; }