diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-18 21:07:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-18 21:07:57 +0000 |
commit | c532b502858032f377056dc8cba2fe43cba8702b (patch) | |
tree | 4bc7090b15808ec2a3187647a8a0309657ca844b /lib/CodeGen/CodeGenModule.h | |
parent | a33e0504f61132ac43f4f89af43b12c87e987c20 (diff) |
Add unnamed_addr in CreateRuntimeVariable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index b1395be8c5..55674ba6a6 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -519,7 +519,8 @@ private: GlobalDecl D); llvm::Constant *GetOrCreateLLVMGlobal(llvm::StringRef MangledName, const llvm::PointerType *PTy, - const VarDecl *D); + const VarDecl *D, + bool UnnamedAddr = false); /// SetCommonAttributes - Set attributes which are common to any /// form of a global definition (alias, Objective-C method, |