diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-08 05:58:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-08 05:58:21 +0000 |
commit | 2621fd1d6d3c5eadcae246859f62738645df7540 (patch) | |
tree | d92b5407efff476f8d28daeeea02226feb8a7ddd /lib/CodeGen/CodeGenFunction.h | |
parent | 63bc0358706e63faf705803c4799e073b91a63f0 (diff) |
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!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index d9e2820e8e..a6caa379cc 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/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 |