mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 16:11:08 +03:00
[svn r262] Fixed debug info for normal function parameters.
Fixed debug info for pointers to basic types.
This commit is contained in:
parent
8b83eda2a2
commit
1e87ae15ef
12 changed files with 217 additions and 28 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue