mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 17:43:14 +01:00
[svn r262] Fixed debug info for normal function parameters.
Fixed debug info for pointers to basic types.
This commit is contained in:
@@ -607,6 +607,10 @@ void DtoDefineFunc(FuncDeclaration* fd)
|
||||
s.append("_storage");
|
||||
|
||||
LLValue* v = new llvm::AllocaInst(a->getType(),s,allocaPoint);
|
||||
|
||||
if (global.params.symdebug)
|
||||
DtoDwarfLocalVariable(v, vd);
|
||||
|
||||
gIR->ir->CreateStore(a,v);
|
||||
vd->ir.irLocal->value = v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user