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/Transforms | |
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/Transforms')
4 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DebugIR.h b/llvm/lib/Transforms/Instrumentation/DebugIR.h index 13774cf1747..06fea48157b 100644 --- a/llvm/lib/Transforms/Instrumentation/DebugIR.h +++ b/llvm/lib/Transforms/Instrumentation/DebugIR.h @@ -21,7 +21,7 @@ namespace llvm { -class DebugIR : public llvm::ModulePass { +class LLVM_LIBRARY_VISIBILITY DebugIR : public llvm::ModulePass { /// If true, write a source file to disk. bool WriteSourceToDisk; diff --git a/llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h b/llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h index 4eac39dedd2..43554b63ec8 100644 --- a/llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h +++ b/llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h @@ -29,7 +29,7 @@ namespace objcarc { /// Declarations for ObjC runtime functions and constants. These are initialized /// lazily to avoid cluttering up the Module with unused declarations. -class ARCRuntimeEntryPoints { +class LLVM_LIBRARY_VISIBILITY ARCRuntimeEntryPoints { public: enum EntryPointType { EPT_AutoreleaseRV, diff --git a/llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h b/llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h index 41ccfe28ce8..646ed55e8ed 100644 --- a/llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h +++ b/llvm/lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h @@ -35,8 +35,8 @@ namespace objcarc { /// TODO: This class could be generalized to know about other ObjC-specific /// tricks. Such as knowing that ivars in the non-fragile ABI are non-aliasing /// even though their offsets are dynamic. - class ObjCARCAliasAnalysis : public ImmutablePass, - public AliasAnalysis { + class LLVM_LIBRARY_VISIBILITY ObjCARCAliasAnalysis : public ImmutablePass, + public AliasAnalysis { public: static char ID; // Class identification, replacement for typeinfo ObjCARCAliasAnalysis() : ImmutablePass(ID) { diff --git a/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h b/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h index a13fb9e9b02..db96cf56d51 100644 --- a/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h +++ b/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h @@ -46,7 +46,7 @@ namespace objcarc { /// an ``independent provenance source'' of a pointer to determine whether or /// not two pointers have the same provenance source and thus could /// potentially be related. -class ProvenanceAnalysis { +class LLVM_LIBRARY_VISIBILITY ProvenanceAnalysis { AliasAnalysis *AA; typedef std::pair<const Value *, const Value *> ValuePairTy; |