[KLIB] API for dumping KLIB ABI

^KT-54402
This commit is contained in:
Dmitriy Dolovov
2023-06-06 18:56:48 +02:00
committed by Space Team
parent 8d9954c0b4
commit 5171d92fb9
97 changed files with 8201 additions and 1 deletions
@@ -33,6 +33,7 @@ fun Properties.readKonanLibraryVersioning(): KotlinLibraryVersioning {
// If there is no such property in the manifest, it means that the manifest was generated by an older version of the compiler,
// meaning that it only contains v1 signatures.
val irSignatureVersions = this.getProperty(KLIB_PROPERTY_IR_SIGNATURE_VERSIONS)?.parseIrSignatureVersions()
?.also { check(it.isNotEmpty()) { "Malformed manifest: Empty set of IR signature versions" } }
?: setOf(KotlinIrSignatureVersion.V1)
return KotlinLibraryVersioning(