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/IR/LeaksContext.h | |
parent | 209a8c8e35cd770d483d597c4eb703a4ee8b0003 (diff) | |
download | llvm-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/LeaksContext.h')
-rw-r--r-- | lib/IR/LeaksContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/LeaksContext.h b/lib/IR/LeaksContext.h index 5038dc9d6d..78cd695ecd 100644 --- a/lib/IR/LeaksContext.h +++ b/lib/IR/LeaksContext.h @@ -28,7 +28,7 @@ struct PrinterTrait<Value> { }; template <typename T> -struct LeakDetectorImpl { +struct LLVM_LIBRARY_VISIBILITY LeakDetectorImpl { explicit LeakDetectorImpl(const char* const name = "") : Cache(0), Name(name) { } |