diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-28 23:17:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-28 23:17:24 +0000 |
commit | 9525528a7dc5462b6374d38c81ba5c07b11741fe (patch) | |
tree | 21af300b05123d1f41b059ac59b39f0b02183861 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 9ef7e06ccef062dfa5df516913b12b7c3ca17805 (diff) |
Use hidden visibility to make symbols in an anonymous namespace get
dropped. This shrinks libllvmgcc.dylib another 67K
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 6e4460b509..ec15b646c7 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -31,6 +31,7 @@ #include "llvm/Target/TargetData.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/Visibility.h" #include "llvm/Target/TargetLowering.h" #include <algorithm> #include <iostream> @@ -104,7 +105,7 @@ namespace { } }; - class LoopStrengthReduce : public FunctionPass { + class VISIBILITY_HIDDEN LoopStrengthReduce : public FunctionPass { LoopInfo *LI; ETForest *EF; ScalarEvolution *SE; |