mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 03:55:48 -04:00
debug: Update for debug info API change.
llvm-svn: 252221
This commit is contained in:
parent
0900fe0f1b
commit
8324851a4e
@ -136,8 +136,8 @@ func (d *DIBuilder) PushFunction(fnptr llvm.Value, sig *types.Signature, pos tok
|
|||||||
Line: line,
|
Line: line,
|
||||||
Type: d.DIType(sig),
|
Type: d.DIType(sig),
|
||||||
IsDefinition: true,
|
IsDefinition: true,
|
||||||
Function: fnptr,
|
|
||||||
})
|
})
|
||||||
|
fnptr.SetSubprogram(d.fn)
|
||||||
}
|
}
|
||||||
|
|
||||||
// PopFunction pops the previously pushed function off the scope stack.
|
// PopFunction pops the previously pushed function off the scope stack.
|
||||||
|
Loading…
Reference in New Issue
Block a user