diff options
Diffstat (limited to 'lib/VMCore/Type.cpp')
-rw-r--r-- | lib/VMCore/Type.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index a96efad744..a393556bc6 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -20,6 +20,7 @@ #include "llvm/ADT/SCCIterator.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/MathExtras.h" +#include "llvm/Support/Visibility.h" #include <algorithm> #include <iostream> using namespace llvm; @@ -366,7 +367,7 @@ const Type *StructType::getTypeAtIndex(const Value *V) const { //===----------------------------------------------------------------------===// namespace { - struct PrimType : public Type { + struct VISIBILITY_HIDDEN PrimType : public Type { PrimType(const char *S, TypeID ID) : Type(S, ID) {} }; } |