summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-05 23:42:17 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-05 23:42:17 +0000
commitf75727ab146880ade52df250150bbcc638fd1da0 (patch)
treec2ba20429d4e1d9d90ad21525f7dae8b42529fb6 /llvm/lib/Analysis/IPA/CallGraph.cpp
parentc85e79f3e0784e7271135f07bd0d04803fbb16b0 (diff)
downloadbcm5719-llvm-f75727ab146880ade52df250150bbcc638fd1da0.tar.gz
bcm5719-llvm-f75727ab146880ade52df250150bbcc638fd1da0.zip
Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce
LLVM's footprint and speed up linking. llvm-svn: 33941
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/CallGraph.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp
index f69696ebc98..bb96bb2d654 100644
--- a/llvm/lib/Analysis/IPA/CallGraph.cpp
+++ b/llvm/lib/Analysis/IPA/CallGraph.cpp
@@ -16,6 +16,7 @@
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/Support/CallSite.h"
+#include "llvm/Support/Compiler.h"
#include "llvm/Support/Streams.h"
#include <ostream>
using namespace llvm;
@@ -35,7 +36,7 @@ namespace {
//===----------------------------------------------------------------------===//
// BasicCallGraph class definition
//
-class BasicCallGraph : public CallGraph, public ModulePass {
+class VISIBILITY_HIDDEN BasicCallGraph : public CallGraph, public ModulePass {
// Root is root of the call graph, or the external node if a 'main' function
// couldn't be found.
//
OpenPOWER on IntegriCloud