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 | d661a853fd3da74eff3525ea3c3af1cae831db3e (patch) | |
tree | a4c33a387dff1d8e41cf409df04216a84c22e7cc /clang/lib/CodeGen/CodeGenModule.h | |
parent | e6290ccf9b56dec24e3821eec1a3fb034b1bc0a8 (diff) | |
download | llvm-d661a853fd3da74eff3525ea3c3af1cae831db3e.zip llvm-d661a853fd3da74eff3525ea3c3af1cae831db3e.tar.gz llvm-d661a853fd3da74eff3525ea3c3af1cae831db3e.tar.bz2 |
Add unnamed_addr in CreateRuntimeVariable.
llvm-svn: 123773
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 b1395be..55674ba 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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, |