summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVTables.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-02 17:29:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-02 17:29:22 +0000
commit9f34b7b93b1fa4d60999af8162a2f435c4c74ae7 (patch)
tree7836b5b1bdf0413068d4b82265af3fc9f5e7c6a3 /clang/lib/CodeGen/CGVTables.cpp
parent7e34a308ff8d9270d2654ce0e8ed9e1600676afb (diff)
downloadbcm5719-llvm-9f34b7b93b1fa4d60999af8162a2f435c4c74ae7.tar.gz
bcm5719-llvm-9f34b7b93b1fa4d60999af8162a2f435c4c74ae7.zip
Revert "Start setting dso_local in clang."
This reverts commit r324107. I will have to test it on OS X. llvm-svn: 324108
Diffstat (limited to 'clang/lib/CodeGen/CGVTables.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGVTables.cpp b/clang/lib/CodeGen/CGVTables.cpp
index a3336d90f42..2d9bf3bce92 100644
--- a/clang/lib/CodeGen/CGVTables.cpp
+++ b/clang/lib/CodeGen/CGVTables.cpp
@@ -51,7 +51,7 @@ llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD,
static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD,
const ThunkInfo &Thunk, llvm::Function *Fn) {
- CGM.setGVProperties(Fn, MD, ForDefinition);
+ CGM.setGlobalVisibility(Fn, MD, ForDefinition);
}
static void setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk,
@@ -730,7 +730,7 @@ CodeGenVTables::GenerateConstructionVTable(const CXXRecordDecl *RD,
// Create the variable that will hold the construction vtable.
llvm::GlobalVariable *VTable =
CGM.CreateOrReplaceCXXRuntimeVariable(Name, VTType, Linkage);
- CGM.setGVProperties(VTable, RD, ForDefinition);
+ CGM.setGlobalVisibility(VTable, RD, ForDefinition);
// V-tables are always unnamed_addr.
VTable->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::Global);
OpenPOWER on IntegriCloud