diff options
author | Jake Ehrlich <jakehehrlich@google.com> | 2017-11-29 00:54:20 +0000 |
---|---|---|
committer | Jake Ehrlich <jakehehrlich@google.com> | 2017-11-29 00:54:20 +0000 |
commit | ba874ad83ed7c482e5da51385a6df0647f3b5c1a (patch) | |
tree | a21d11b9dbc38a987f551cce1ad84bece5b30947 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 5fb3ad71a2297734589495a558635bb2e84a413b (diff) | |
download | bcm5719-llvm-ba874ad83ed7c482e5da51385a6df0647f3b5c1a.tar.gz bcm5719-llvm-ba874ad83ed7c482e5da51385a6df0647f3b5c1a.zip |
Reland "Fix vtable not receiving hidden visibility when using push(visibility)"
I had to reland this change in order to make the test work on windows
This change should resolve https://bugs.llvm.org/show_bug.cgi?id=35022
https://reviews.llvm.org/D39627
llvm-svn: 319269
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 03f4e50cd09..8b142933a7d 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -710,7 +710,8 @@ public: llvm::ConstantInt *getSize(CharUnits numChars); /// Set the visibility for the given LLVM GlobalValue. - void setGlobalVisibility(llvm::GlobalValue *GV, const NamedDecl *D) const; + void setGlobalVisibility(llvm::GlobalValue *GV, const NamedDecl *D, + ForDefinition_t IsForDefinition) const; /// Set the TLS mode for the given LLVM GlobalValue for the thread-local /// variable declaration D. |