aboutsummaryrefslogtreecommitdiff
path: root/lib/Archive/ArchiveInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Archive/ArchiveInternals.h')
-rw-r--r--lib/Archive/ArchiveInternals.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/Archive/ArchiveInternals.h b/lib/Archive/ArchiveInternals.h
index 86d2827009..7a918a9653 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