Alexander Gorshenev
dfa509ec5b
This reverts commits
...
afb2e9f38d .
8c4fa6446d .
f3bc533073 .
ccf084b1a5 .
2020-01-27 15:30:16 +03:00
Alexander Gorshenev
afb2e9f38d
Fine tuned the single file klib resolver
2020-01-27 14:24:14 +03:00
Alexander Gorshenev
f3bc533073
Move tools to resolveSingleFileKlib
2020-01-27 14:24:14 +03:00
Alexander Gorshenev
ccf084b1a5
Initial implementation of klib components
2020-01-27 14:24:14 +03:00
Dmitry Savvinov
5665261e5b
Minor: extract name of ir-folder in klib into const property
2020-01-25 15:59:12 +03:00
Dmitry Petrov
c540116b71
IR: additional callable reference adapter stuff in IR
...
- IrFunctionReference.reflectionTarget: IrFunctionSymbol?
- add separate declaration origin for callable reference adapters
- bump IR ABI version
2020-01-24 11:21:26 +03:00
Dmitry Petrov
64a405e7a0
IR: 'fun interface' support
2020-01-22 00:12:03 +03:00
Sergey Igushkin
28e0089259
Allow not providing IR to serialize a klib with just the frontend metadata
2019-12-25 12:09:07 +03:00
Igor Chevdar
8d02d00f22
[IR Serialization] Removed native-specific hack in mangler
2019-12-20 16:13:11 +03:00
Roman Artemev
cad3cb1bbe
[KLIB] Fix references to type made from TypeParameter in KotlinMangler
...
- promote ABI version
2019-12-17 17:56:07 +03:00
Dmitriy Dolovov
ce376f49fd
[Commonizer] CLI for Kotlin/Native KLIBs
2019-12-12 14:51:55 +03:00
Alexander Gorshenev
b0f077ff4b
Plumbing KlibMetadataVersion and KlibIrVersion values to klib manifest
2019-11-30 18:37:38 +03:00
Dmitry Petrov
a2188610b1
Promote KotlinABI version
2019-11-29 13:53:05 +03:00
Svyatoslav Kuzmich
c8e5b2f2f8
[KLIB] Add error message when failed to resolve library
2019-11-18 15:31:12 +03:00
Roman Artemev
86570a2f91
[KLIB] Promote ABI version
2019-11-12 21:00:32 +03:00
Sergey Bogolepov
608885d118
[Linker] Extend KotlinIrLinker infrastructure to support libraries that
...
doesn't contain IR. Also bump ABI version because of addition of `ir_provider` property
2019-11-11 15:55:36 +07:00
Alexander Gorshenev
f18a3f7fa9
Several more librry resolver tweaks.
...
Made library builder a member function.
Moved resolverByName() back to Native for now
2019-10-11 17:02:06 +03:00
Alexander Gorshenev
55805ddeb8
JS search path resolver with attributes.
...
Warn on inclusion of klibs with the same name in manifest
2019-10-11 17:02:06 +03:00
Roman Artemev
e738534bef
[KLIB] Promote Konan ABI Version
2019-10-09 13:23:19 +03:00
Roman Artemev
d5176cbf5d
[IR SERIALIZATION] Get rid of UniqId proto message
...
- encode locality flag in major bit of uniqid (1 - global, 0 - local)
2019-10-09 13:23:18 +03:00
Alexander Gorshenev
e5dbec4523
Commonized FileRegistry with SourceFileMap for klib metadata
2019-10-08 16:56:29 +03:00
Alexander Gorshenev
e53260e27c
Bumped klib ABI version
2019-10-01 17:38:57 +03:00
Dmitriy Dolovov
781c73335d
Use cache everywhere where K/N KLIBs are read in IDE
2019-10-01 17:38:57 +03:00
Alexander Gorshenev
c227c13799
Commonizing klib metadata between native and js
2019-10-01 17:38:57 +03:00
Roman Artemev
104a50f786
[KLIB] Update ABI version
2019-09-03 14:21:32 +03:00
Roman Artemev
6bea403338
[KLIB] Fix ir serializer output format
2019-09-03 14:21:32 +03:00
Roman Artemev
c8c9328973
[KLIB] Switch to monolithic layout
2019-09-03 14:21:32 +03:00
Roman Artemev
f2a5ab8c16
[IR SERIALIZATION] Fix zipped layout
2019-09-03 14:21:31 +03:00
Roman Artemev
aa313903cc
[IR SERIALIZATION] Support both Per-File and Monolitic klib layout
2019-09-03 14:21:30 +03:00
Roman Artemev
d9affc5abb
[IR SERIALIZATION] Raname IrIrSeriazlizedIrFile -> SerializedIrFile
2019-09-03 14:21:30 +03:00
Roman Artemev
94a03c9cb4
[IC KLIB] Serialization infrastructure refactoring
...
- remove IrModule header
- put IrDeclaration and its body into separate files
- use only one type of IrData index
- separate deserialization of declarations and its bodies
- introduce FqName message
2019-09-03 14:21:29 +03:00
Roman Artemev
5a45960c04
[IR] Do not interact with file system during Ir Serialization
...
- make `IrModuleSerializer` produce ByteArrays with serialized data
- isolate file system access on Klib writer
2019-09-03 14:21:28 +03:00
Igor Chevdar
5a01ad799e
[Serializer] Bumped ABI version
2019-06-27 19:04:00 +03:00
Roman Artemev
88e92be091
[IR] Fix name clash between properties with the same fqn
...
Promote ABI version
2019-06-20 12:08:55 +03:00
Igor Chevdar
3e8f3e6f00
[Klib] Split up IR header tables onto three parts
...
There was one monolith protobuf at irHeader.knd, it was
split up onto 4 parts due to performance issues:
- a small irHeader with some basic info about a module
- symbols table
- types table
- strings table
These 3 tables are then mmapped and accessed by index.
2019-06-10 13:41:57 +03:00
Alexander Gorshenev
5faccaa49e
Got rid of delegation in library impl hierarchy
2019-06-10 13:41:57 +03:00
Svyatoslav Kuzmich
cd651be461
[JS IR BE] Migrate JS BE to common klib utils
2019-06-05 11:15:45 +03:00
Alexander Gorshenev
10a54c2581
Moved the common klib writer from Kotlin/Native to util-klib
2019-06-03 14:38:48 +03:00
Alexander Gorshenev
7ddbd8ca80
Moved the common klib reader functionality from Kotlin/Native to util-klib
2019-06-03 14:38:48 +03:00