Skip to content

Commit 8324851

Browse files
committed
debug: Update for debug info API change.
llvm-svn: 252221
1 parent 0900fe0 commit 8324851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llgo/debug/debug.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ func (d *DIBuilder) PushFunction(fnptr llvm.Value, sig *types.Signature, pos tok
136136
Line: line,
137137
Type: d.DIType(sig),
138138
IsDefinition: true,
139-
Function: fnptr,
140139
})
140+
fnptr.SetSubprogram(d.fn)
141141
}
142142

143143
// PopFunction pops the previously pushed function off the scope stack.

0 commit comments

Comments
 (0)