[llvm-commits] CVS: llvm/include/llvm/Bytecode/Reader.h
Chris Lattner
sabre at nondot.org
Wed Feb 7 15:53:42 PST 2007
Changes in directory llvm/include/llvm/Bytecode:
Reader.h updated: 1.29 -> 1.30
---
Log message:
move archive-specific stuff out of bcreader into archive library.
---
Diffs of the changes: (+0 -30)
Reader.h | 30 ------------------------------
1 files changed, 30 deletions(-)
Index: llvm/include/llvm/Bytecode/Reader.h
diff -u llvm/include/llvm/Bytecode/Reader.h:1.29 llvm/include/llvm/Bytecode/Reader.h:1.30
--- llvm/include/llvm/Bytecode/Reader.h:1.29 Wed Feb 7 17:48:32 2007
+++ llvm/include/llvm/Bytecode/Reader.h Wed Feb 7 17:53:17 2007
@@ -81,36 +81,6 @@
std::string *ErrMsg = 0 ///< Optional place to return an error message
);
-
-/// This function will read only the necessary parts of a bytecode file in order
-/// to obtain a list of externally visible global symbols that the bytecode
-/// module defines. This is used for archiving and linking when only the list
-/// of symbols the module defines is needed.
-/// @returns true on error, false otherwise
-/// @brief Get a bytecode file's externally visibile defined global symbols.
-bool GetBytecodeSymbols(
- const sys::Path& fileName, ///< Filename to read bytecode from
- std::vector<std::string>& syms, ///< Vector to return symbols in
- BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
- std::string* ErrMsg = 0 ///< Optional error message holder
-);
-
-/// This function will read only the necessary parts of a bytecode buffer in
-/// order to obtain a list of externally visible global symbols that the
-/// bytecode module defines. This is used for archiving and linking when only
-/// the list of symbols the module defines is needed and the bytecode is
-/// already in memory.
-/// @returns the ModuleProvider on success, 0 if the bytecode can't be parsed
-/// @brief Get a bytecode file's externally visibile defined global symbols.
-ModuleProvider* GetBytecodeSymbols(
- const unsigned char*Buffer, ///< The buffer to be parsed
- unsigned Length, ///< The length of \p Buffer
- const std::string& ModuleID, ///< An identifier for the module
- std::vector<std::string>& symbols, ///< The symbols defined in the module
- BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
- std::string* ErrMsg = 0 ///< Optional error message holder
-);
-
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list