diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-06 01:04:20 +0300 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-11-06 01:04:20 +0300 |
commit | 8324851a4eec3cf12d8b042eaa5cc7bf58d52212 (patch) | |
tree | c29e5cf4f953201bb4f52cc2c2c317d83bed363f /llgo | |
parent | 0900fe0f1bdae8e87d0400c89673601217055c93 (diff) |
debug: Update for debug info API change.
llvm-svn: 252221
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 683c6be53f68..2e641692ad0a 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. |