summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit996795b0dda1c961de31430b2113f9e43634527f (patch)
tree27b7cf11a5cdbf47b7e82e12861a602252ff0768 /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
parentd6cba04607e3f90acc5765f8a7e5f393b0df0c9b (diff)
downloadbcm5719-llvm-996795b0dda1c961de31430b2113f9e43634527f.tar.gz
bcm5719-llvm-996795b0dda1c961de31430b2113f9e43634527f.zip
Use hidden visibility to make symbols in an anonymous namespace get
dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
index 36f68058f8f..b3d100cf5e5 100644
--- a/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud