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 | b781dc79aa32c6c43521a7f1f66983e85d96e09a (patch) | |
tree | b5142fafa6457f38dc720b86a61acfacb1659dd2 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | d330036c061aaba38ef37a14765f6dd9d6f171aa (diff) | |
download | bcm5719-llvm-b781dc79aa32c6c43521a7f1f66983e85d96e09a.tar.gz bcm5719-llvm-b781dc79aa32c6c43521a7f1f66983e85d96e09a.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |