summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-11 17:42:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-11 17:42:27 +0000
commit15f387c93ef8d5c23f110143996c8b9b4a089864 (patch)
treec05dd44a175d30a5e34ed8d21ecea848a8c1f776 /lib/Bitcode/Reader
parent209a8c8e35cd770d483d597c4eb703a4ee8b0003 (diff)
downloadllvm-15f387c93ef8d5c23f110143996c8b9b4a089864.tar.gz
llvm-15f387c93ef8d5c23f110143996c8b9b4a089864.tar.bz2
llvm-15f387c93ef8d5c23f110143996c8b9b4a089864.tar.xz
Give internal classes hidden visibility.
Worth 100k on a linux/x86_64 Release+Asserts clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h
index b095447675..f82f03f73e 100644
--- a/lib/Bitcode/Reader/BitcodeReader.h
+++ b/lib/Bitcode/Reader/BitcodeReader.h
@@ -32,7 +32,7 @@ namespace llvm {
// BitcodeReaderValueList Class
//===----------------------------------------------------------------------===//
-class BitcodeReaderValueList {
+class LLVM_LIBRARY_VISIBILITY BitcodeReaderValueList {
std::vector<WeakVH> ValuePtrs;
/// ResolveConstants - As we resolve forward-referenced constants, we add
@@ -91,7 +91,7 @@ public:
// BitcodeReaderMDValueList Class
//===----------------------------------------------------------------------===//
-class BitcodeReaderMDValueList {
+class LLVM_LIBRARY_VISIBILITY BitcodeReaderMDValueList {
std::vector<WeakVH> MDValuePtrs;
LLVMContext &Context;
@@ -121,7 +121,7 @@ public:
void AssignValue(Value *V, unsigned Idx);
};
-class BitcodeReader : public GVMaterializer {
+class LLVM_LIBRARY_VISIBILITY BitcodeReader : public GVMaterializer {
LLVMContext &Context;
Module *TheModule;
MemoryBuffer *Buffer;