aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-01-18 21:07:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-01-18 21:07:57 +0000
commitd661a853fd3da74eff3525ea3c3af1cae831db3e (patch)
treea4c33a387dff1d8e41cf409df04216a84c22e7cc /clang/lib/CodeGen/CodeGenModule.h
parente6290ccf9b56dec24e3821eec1a3fb034b1bc0a8 (diff)
downloadllvm-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.h3
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,