Mercurial > projects > ldc
diff gen/todebug.h @ 247:56199753e637 trunk
[svn r264] Fixed debug info for global variables.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 17:49:30 +0200 |
parents | d61ce72c39ab |
children | fc9c1a0eabbd |
line wrap: on
line diff
--- a/gen/todebug.h Mon Jun 09 15:52:22 2008 +0200 +++ b/gen/todebug.h Mon Jun 09 17:49:30 2008 +0200 @@ -18,6 +18,14 @@ */ void DtoDwarfLocalVariable(LLValue* ll, VarDeclaration* vd); +/** + * Emits all things necessary for making debug info for a global variable vd. + * @param ll + * @param vd + * @return + */ +LLGlobalVariable* DtoDwarfGlobalVariable(LLGlobalVariable* ll, VarDeclaration* vd); + #endif // LLVMDC_GEN_TODEBUG_H