summaryrefslogtreecommitdiff
path: root/lib/IR/AsmWriter.h
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/IR/AsmWriter.h
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/IR/AsmWriter.h')
-rw-r--r--lib/IR/AsmWriter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/AsmWriter.h b/lib/IR/AsmWriter.h
index 8f4a37777e..9e8355719a 100644
--- a/lib/IR/AsmWriter.h
+++ b/lib/IR/AsmWriter.h
@@ -39,7 +39,7 @@ SlotTracker *createSlotTracker(const Module *M);
// TypePrinting Class: Type printing machinery
//===----------------------------------------------------------------------===//
-class TypePrinting {
+class LLVM_LIBRARY_VISIBILITY TypePrinting {
TypePrinting(const TypePrinting &) LLVM_DELETED_FUNCTION;
void operator=(const TypePrinting&) LLVM_DELETED_FUNCTION;
public:
@@ -61,7 +61,7 @@ public:
void printStructBody(StructType *Ty, raw_ostream &OS);
};
-class AssemblyWriter {
+class LLVM_LIBRARY_VISIBILITY AssemblyWriter {
protected:
formatted_raw_ostream &Out;
const Module *TheModule;