summaryrefslogtreecommitdiffstats
path: root/lib/Archive/ArchiveInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Archive/ArchiveInternals.h')
-rw-r--r--lib/Archive/ArchiveInternals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Archive/ArchiveInternals.h b/lib/Archive/ArchiveInternals.h
index 7ba3024..d187ed9 100644
--- a/lib/Archive/ArchiveInternals.h
+++ b/lib/Archive/ArchiveInternals.h
@@ -31,6 +31,8 @@
namespace llvm {
+ class LLVMContext;
+
/// The ArchiveMemberHeader structure is used internally for bitcode
/// archives.
/// The header precedes each file member in the archive. This structure is
@@ -71,11 +73,13 @@ namespace llvm {
// Get just the externally visible defined symbols from the bitcode
bool GetBitcodeSymbols(const sys::Path& fName,
+ LLVMContext& Context,
std::vector<std::string>& symbols,
std::string* ErrMsg);
ModuleProvider* GetBitcodeSymbols(const unsigned char*Buffer,unsigned Length,
const std::string& ModuleID,
+ LLVMContext& Context,
std::vector<std::string>& symbols,
std::string* ErrMsg);
}
OpenPOWER on IntegriCloud