diff options
Diffstat (limited to 'llvm/lib/Bytecode/Archive/ArchiveInternals.h')
-rw-r--r-- | llvm/lib/Bytecode/Archive/ArchiveInternals.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Archive/ArchiveInternals.h b/llvm/lib/Bytecode/Archive/ArchiveInternals.h index 86d28270097..7a918a96535 100644 --- a/llvm/lib/Bytecode/Archive/ArchiveInternals.h +++ b/llvm/lib/Bytecode/Archive/ArchiveInternals.h @@ -65,9 +65,18 @@ namespace llvm { bool checkSignature() { return 0 == memcmp(fmag, ARFILE_MEMBER_MAGIC,2); } - }; - + + // Get just the externally visible defined symbols from the bytecode + bool GetBytecodeSymbols(const sys::Path& fName, + std::vector<std::string>& symbols, + BCDecompressor_t *BCDC, std::string* ErrMsg); + + ModuleProvider* GetBytecodeSymbols(const unsigned char*Buffer,unsigned Length, + const std::string& ModuleID, + std::vector<std::string>& symbols, + BCDecompressor_t *BCDC, + std::string* ErrMsg); } #endif |