aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-11-22 17:59:30 +0000
committerPetr Hosek <phosek@chromium.org>2017-11-22 17:59:30 +0000
commit9696dbb988973488de9905b323d903ac7e3c2d28 (patch)
treee2c85e35a41a982397e76f35e741abd3334e4a7d /clang/lib/CodeGen/CodeGenModule.h
parentde56343cf0bd8190c4e1818a97a234be4919938c (diff)
downloadllvm-9696dbb988973488de9905b323d903ac7e3c2d28.zip
llvm-9696dbb988973488de9905b323d903ac7e3c2d28.tar.gz
llvm-9696dbb988973488de9905b323d903ac7e3c2d28.tar.bz2
[CodeGen] Fix vtable not receiving hidden visibility when using push(visibility)
This change should resolve https://bugs.llvm.org/show_bug.cgi?id=35022 Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D39627 llvm-svn: 318853
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 7a47c57..708ba3c 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.