diff options
Diffstat (limited to 'lib/Transforms/Scalar/LowerGC.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LowerGC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LowerGC.cpp b/lib/Transforms/Scalar/LowerGC.cpp index d51189cf49..40f6bc3c4a 100644 --- a/lib/Transforms/Scalar/LowerGC.cpp +++ b/lib/Transforms/Scalar/LowerGC.cpp @@ -26,10 +26,11 @@ #include "llvm/Instructions.h" #include "llvm/Module.h" #include "llvm/Pass.h" +#include "llvm/Support/Visibility.h" using namespace llvm; namespace { - class LowerGC : public FunctionPass { + class VISIBILITY_HIDDEN LowerGC : public FunctionPass { /// GCRootInt, GCReadInt, GCWriteInt - The function prototypes for the /// llvm.gcread/llvm.gcwrite/llvm.gcroot intrinsics. Function *GCRootInt, *GCReadInt, *GCWriteInt; |