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 | 8324851a4eec3cf12d8b042eaa5cc7bf58d52212 (patch) | |
tree | c29e5cf4f953201bb4f52cc2c2c317d83bed363f /llgo | |
parent | 0900fe0f1bdae8e87d0400c89673601217055c93 (diff) | |
download | bcm5719-llvm-8324851a4eec3cf12d8b042eaa5cc7bf58d52212.tar.gz bcm5719-llvm-8324851a4eec3cf12d8b042eaa5cc7bf58d52212.zip |
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 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. |