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
This commit is contained in:
Benjamin Kramer
2013-09-11 17:42:27 +00:00
parent 209a8c8e35
commit 15f387c93e
35 changed files with 83 additions and 82 deletions

View File

@ -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;

View File

@ -34,7 +34,7 @@ class ValueSymbolTable;
class MDSymbolTable;
class raw_ostream;
class ValueEnumerator {
class LLVM_LIBRARY_VISIBILITY ValueEnumerator {
public:
typedef std::vector<Type*> TypeList;