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/CodeGen/SelectionDAG/SelectionDAGISel.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/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c7e4315bbd..3968c38fa4 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -42,6 +42,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/Visibility.h" #include <map> #include <set> #include <iostream> @@ -101,7 +102,7 @@ namespace { /// particular value is assigned and the type information about the value. /// This is needed because values can be promoted into larger registers and /// expanded into multiple smaller registers than the value. - struct RegsForValue { + struct VISIBILITY_HIDDEN RegsForValue { /// Regs - This list hold the register (for legal and promoted values) /// or register set (for expanded values) that the value should be assigned /// to. |