Skip to content

Commit b3a1be5

Browse files
committed
Fix #12947, api error on llvm36+
1 parent 404b414 commit b3a1be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debuginfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ void lookup_pointer(DIContext *context, char **name, size_t *line,
518518
if (inlineinfo.getNumberOfFrames() > 1) {
519519
topinfo = inlineinfo.getFrame(inlineinfo.getNumberOfFrames() - 1);
520520
jl_copy_str(inlinedat_file, topinfo.FileName.c_str());
521-
*inlinedat_line = topinfo.getLine();
521+
*inlinedat_line = topinfo.Line;
522522
}
523523
#endif
524524

0 commit comments

Comments
 (0)