debug: Update for debug info API change.

llvm-svn: 252221
This commit is contained in:
Peter Collingbourne 2015-11-05 22:04:20 +00:00
parent 0900fe0f1b
commit 8324851a4e
1 changed files with 1 additions and 1 deletions
llgo/debug

View File

@ -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.