diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 17:42:27 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-11 17:42:27 +0000 |
commit | 15f387c93ef8d5c23f110143996c8b9b4a089864 (patch) | |
tree | c05dd44a175d30a5e34ed8d21ecea848a8c1f776 /lib/Bitcode | |
parent | 209a8c8e35cd770d483d597c4eb703a4ee8b0003 (diff) | |
download | external_llvm-15f387c93ef8d5c23f110143996c8b9b4a089864.zip external_llvm-15f387c93ef8d5c23f110143996c8b9b4a089864.tar.gz external_llvm-15f387c93ef8d5c23f110143996c8b9b4a089864.tar.bz2 |
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')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.h | 6 | ||||
-rw-r--r-- | lib/Bitcode/Writer/ValueEnumerator.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.h b/lib/Bitcode/Reader/BitcodeReader.h index b095447..f82f03f 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; diff --git a/lib/Bitcode/Writer/ValueEnumerator.h b/lib/Bitcode/Writer/ValueEnumerator.h index d1ca15f..f208eb3 100644 --- a/lib/Bitcode/Writer/ValueEnumerator.h +++ b/lib/Bitcode/Writer/ValueEnumerator.h @@ -34,7 +34,7 @@ class ValueSymbolTable; class MDSymbolTable; class raw_ostream; -class ValueEnumerator { +class LLVM_LIBRARY_VISIBILITY ValueEnumerator { public: typedef std::vector<Type*> TypeList; |