diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-07 23:53:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-07 23:53:17 +0000 |
commit | f36c7b860de5cae1ffc817fce430210e942a0bf7 (patch) | |
tree | 54e6e949ae1bab5397a3060cbc674a448847bf2d /lib/Archive/ArchiveInternals.h | |
parent | 7cf7c2b703e648cdf1184d406bd53a65050be212 (diff) | |
download | external_llvm-f36c7b860de5cae1ffc817fce430210e942a0bf7.zip external_llvm-f36c7b860de5cae1ffc817fce430210e942a0bf7.tar.gz external_llvm-f36c7b860de5cae1ffc817fce430210e942a0bf7.tar.bz2 |
move archive-specific stuff out of bcreader into archive library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Archive/ArchiveInternals.h')
-rw-r--r-- | lib/Archive/ArchiveInternals.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/Archive/ArchiveInternals.h b/lib/Archive/ArchiveInternals.h index 86d2827..7a918a9 100644 --- a/lib/Archive/ArchiveInternals.h +++ b/lib/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 |