commit | f77aaa00896d187cfbaed49a59859b402168f531 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Wed Nov 18 02:53:28 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Wed Nov 18 02:53:28 2009 +0000 |
tree | 8cc72af4f4137281eb7b44679e2c80b264b1e230 | |
parent | e61f2ba7e44ac3f5b635dd639add8a745e175a62 [diff] [blame] |
Make _ZTI symbols hidden. This speeds up the dynamic linker. llvm-svn: 89185
diff --git a/clang/lib/CodeGen/CGRtti.cpp b/clang/lib/CodeGen/CGRtti.cpp index 9ebb908..4a9779a 100644 --- a/clang/lib/CodeGen/CGRtti.cpp +++ b/clang/lib/CodeGen/CGRtti.cpp
@@ -165,6 +165,7 @@ OGV->replaceAllUsesWith(NewPtr); OGV->eraseFromParent(); } + GV->setVisibility(llvm::GlobalVariable::HiddenVisibility); return llvm::ConstantExpr::getBitCast(GV, Int8PtrTy); }