forked from OSchip/llvm-project
debug: Update for debug info API change.
llvm-svn: 252221
This commit is contained in:
parent
0900fe0f1b
commit
8324851a4e
llgo/debug
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue