Give internal classes hidden visibility.

Worth 100k on a linux/x86_64 Release+Asserts clang.

llvm-svn: 190534
This commit is contained in:
Benjamin Kramer
2013-09-11 17:42:27 +00:00
parent 786d32ecf7
commit 6a44af3629
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;