aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-28 23:17:24 +0000
committerChris Lattner <sabre@nondot.org>2006-06-28 23:17:24 +0000
commit9525528a7dc5462b6374d38c81ba5c07b11741fe (patch)
tree21af300b05123d1f41b059ac59b39f0b02183861 /lib/Target/PowerPC/PPCBranchSelector.cpp
parent9ef7e06ccef062dfa5df516913b12b7c3ca17805 (diff)
downloadexternal_llvm-9525528a7dc5462b6374d38c81ba5c07b11741fe.tar.gz
external_llvm-9525528a7dc5462b6374d38c81ba5c07b11741fe.tar.bz2
external_llvm-9525528a7dc5462b6374d38c81ba5c07b11741fe.zip
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/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp
index 36f68058f8..b3d100cf5e 100644
--- a/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -19,11 +19,12 @@
#include "PPCInstrBuilder.h"
#include "PPCInstrInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
+#include "llvm/Support/Visibility.h"
#include <map>
using namespace llvm;
namespace {
- struct PPCBSel : public MachineFunctionPass {
+ struct VISIBILITY_HIDDEN PPCBSel : public MachineFunctionPass {
// OffsetMap - Mapping between BB and byte offset from start of function
std::map<MachineBasicBlock*, unsigned> OffsetMap;