[KLIB] Add extra debug information for Local signatures

This commit is contained in:
Roman Artemev
2021-05-26 20:01:08 +03:00
committed by TeamCityServer
parent b5c28c1912
commit b8e5185b61
18 changed files with 120 additions and 84 deletions
@@ -49,7 +49,8 @@ interface IncrementalResultsConsumer {
strings: ByteArray,
declarations: ByteArray,
bodies: ByteArray,
fqn: ByteArray
fqn: ByteArray,
debugInfo: ByteArray?
)
}
@@ -134,9 +135,10 @@ open class IncrementalResultsConsumerImpl : IncrementalResultsConsumer {
strings: ByteArray,
declarations: ByteArray,
bodies: ByteArray,
fqn: ByteArray
fqn: ByteArray,
debugInfo: ByteArray?
) {
_irFileData[sourceFile] = IrTranslationResultValue(fileData, types, signatures, strings, declarations, bodies, fqn)
_irFileData[sourceFile] = IrTranslationResultValue(fileData, types, signatures, strings, declarations, bodies, fqn, debugInfo)
}
}
@@ -26,5 +26,6 @@ data class IrTranslationResultValue(
val strings: ByteArray,
val declarations: ByteArray,
val bodies: ByteArray,
val fqn: ByteArray
val fqn: ByteArray,
val debugInfo: ByteArray?
)