diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-18 20:58:54 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-18 20:58:54 +0000 |
commit | d914fd2163663b4fb7964a6b7001a8182b864705 (patch) | |
tree | 3cb0856ac66a4e417c0247d169ad66b988ce9596 /clang/lib/CodeGen/CodeGenModule.h | |
parent | feb4537b442b9b34022edefb844157a05344fa31 (diff) | |
download | bcm5719-llvm-d914fd2163663b4fb7964a6b7001a8182b864705.tar.gz bcm5719-llvm-d914fd2163663b4fb7964a6b7001a8182b864705.zip |
IRgen: Mark aliases of ctors and dtors as unnamed_addr.
This is not only semantically correct but ensures that they will not
be marked as address-significant once D48155 lands.
Differential Revision: https://reviews.llvm.org/D48206
llvm-svn: 334982
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 89823982ac2..bf22ad246c8 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1193,7 +1193,6 @@ public: /// are emitted lazily. void EmitGlobal(GlobalDecl D); - bool TryEmitDefinitionAsAlias(GlobalDecl Alias, GlobalDecl Target); bool TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D); llvm::GlobalValue *GetGlobalValue(StringRef Ref); |