From b781dc79aa32c6c43521a7f1f66983e85d96e09a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 8 May 2008 05:58:21 +0000 Subject: Add basic support for the pic-* target triples and add support for targets that do not support recursion (and thus codegen stack variables as globals). Patch contributed by Alireza Moshtaghi! llvm-svn: 50844 --- clang/lib/CodeGen/CodeGenFunction.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index d9e2820e8ef..a6caa379cc9 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -488,6 +488,12 @@ public: bool DestIsVolatile); /// LoadComplexFromAddr - Load a complex number from the specified address. ComplexPairTy LoadComplexFromAddr(llvm::Value *SrcAddr, bool SrcIsVolatile); + + /// GenerateStaticBlockVarDecl - return the the static + /// declaration of local variable. + llvm::GlobalValue *GenerateStaticBlockVarDecl(const VarDecl &D, + bool NoInit, + const char *Separator); }; } // end namespace CodeGen } // end namespace clang -- cgit v1.2.3