Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
246:b604c56945b0 | 247:56199753e637 |
---|---|
16 * @param ll LLVM Value of the variable. | 16 * @param ll LLVM Value of the variable. |
17 * @param vd Variable declaration to emit debug info for. | 17 * @param vd Variable declaration to emit debug info for. |
18 */ | 18 */ |
19 void DtoDwarfLocalVariable(LLValue* ll, VarDeclaration* vd); | 19 void DtoDwarfLocalVariable(LLValue* ll, VarDeclaration* vd); |
20 | 20 |
21 /** | |
22 * Emits all things necessary for making debug info for a global variable vd. | |
23 * @param ll | |
24 * @param vd | |
25 * @return | |
26 */ | |
27 LLGlobalVariable* DtoDwarfGlobalVariable(LLGlobalVariable* ll, VarDeclaration* vd); | |
28 | |
21 #endif // LLVMDC_GEN_TODEBUG_H | 29 #endif // LLVMDC_GEN_TODEBUG_H |
22 | 30 |
23 | 31 |