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 | 6a44af36297ae61238bb7ad1e05e77bcc5571f72 (patch) | |
tree | 70b0aee7b37df563d9e3c01312194cab536d0597 /llvm/lib/IR/AsmWriter.h | |
parent | 786d32ecf7071c0c7cc8bdff46ac21d6d5c4fd33 (diff) | |
download | bcm5719-llvm-6a44af36297ae61238bb7ad1e05e77bcc5571f72.tar.gz bcm5719-llvm-6a44af36297ae61238bb7ad1e05e77bcc5571f72.zip |
Give internal classes hidden visibility.
Worth 100k on a linux/x86_64 Release+Asserts clang.
llvm-svn: 190534
Diffstat (limited to 'llvm/lib/IR/AsmWriter.h')
-rw-r--r-- | llvm/lib/IR/AsmWriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/AsmWriter.h b/llvm/lib/IR/AsmWriter.h index 8f4a37777eb..9e8355719a7 100644 --- a/llvm/lib/IR/AsmWriter.h +++ b/llvm/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; |