diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-05 22:04:20 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-05 22:04:20 +0000 |
commit | 87a809e0883f8409bc5a0eba51bc9eca8b2a2038 (patch) | |
tree | d484051807e1c6dbea9dc684ff9cf15973fcb5e2 /llgo | |
parent | edcadbf625e3c9f04bf67fb54ddb7161ab0a6a03 (diff) |
debug: Update for debug info API change.
Diffstat (limited to 'llgo')
-rw-r--r-- | llgo/debug/debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/debug/debug.go b/llgo/debug/debug.go index 683c6be53f6..2e641692ad0 100644 --- a/llgo/debug/debug.go +++ b/llgo/debug/debug.go @@ -136,8 +136,8 @@ func (d *DIBuilder) PushFunction(fnptr llvm.Value, sig *types.Signature, pos tok Line: line, Type: d.DIType(sig), IsDefinition: true, - Function: fnptr, }) + fnptr.SetSubprogram(d.fn) } // PopFunction pops the previously pushed function off the scope stack. |