jvm-abi-gen: remove parts of the SMAP used only in stripped methods

This commit is contained in:
Sonya Valchuk
2024-03-08 10:19:26 +00:00
committed by Space Cloud
parent 0005ba47f8
commit 9518416bdb
3 changed files with 50 additions and 29 deletions
@@ -4,5 +4,6 @@ fun g() = f()
inline fun f() = 1
// This does not change the line numbers in f, but does change the line
// numbers in the SourceDebug extension section which has to be rewritten.
// The line numbers in f are the same, but the SourceDebug extension section
// contains a different line number for the inline function call in g.
// g is not inline, though, so the debugging information for its body is removed.