Commit Graph

153 Commits

Author SHA1 Message Date
SvyatoslavScherbina cfd6b80e6a Add line numbers to stacktraces in macos_x64/ios_x64 debug binaries (#2489) 2018-12-24 17:05:27 +03:00
Sergey Bogolepov baaf6edba7 Move more intrinsics under TypedIntrinsic annotation (#2474) 2018-12-19 18:40:30 +03:00
Nikolay Igotti 9e3a68f835 Reduce size of object header by one pointer. (#2432) 2018-12-03 13:50:56 +03:00
Sergey Bogolepov c29be9c5ee Filter bitcode files by extension when passing them to llvm (#2356) 2018-11-22 11:37:59 +07:00
Ilya Matveev 51f3123e9c Support pointer macros in cinterop (#2279) 2018-11-04 13:58:37 +07:00
Nikolay Igotti 9c8b85af5d Xcode 10.1 (#2286)
* Update to XCode 10.1.

* Bump ABI version.
2018-11-01 11:54:54 +03:00
Dmitriy Dolovov 79e595bf0a Fix: UnknownHostException in cinterop command. (#2271) 2018-10-29 14:53:14 +07:00
Alexander Gorshenev 1e3dc5d526 1.1.0 is abi version 3. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev be56d8a4e2 A little refactoring on abi version match. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev 4bc1130a95 Fine tune the abi version check for 1.0.x 2018-10-19 19:36:48 +03:00
Nikolay Igotti 70e6b71134 Switch to lld on Linux. (#2223) 2018-10-17 18:56:16 +03:00
Alexander Gorshenev bcb10f06f6 Don't look for target specific linkerOpts.
The default substitutions in manifest should have taken care of that.
2018-09-27 12:12:50 +03:00
Alexander Gorshenev 30fd4060d3 Provide a forced compiler version compatibility -X control. 2018-09-21 02:02:02 +03:00
Alexander Gorshenev d416417f36 Fine tuned compiler version compatibility rules for now. 2018-09-21 02:02:02 +03:00
Alexander Gorshenev 5fcb5edac8 Print out the complete KonanVersion to klib manifest. 2018-09-21 02:02:02 +03:00
Dmitriy Dolovov f94a945d1e Verbose logging of versions if KLIB compiler version mismatches 2018-09-21 02:02:02 +03:00
Ilya Matveev 8213df8bf2 [klib-resolver] Resolve libraries passed as files by unique name (#2104) 2018-09-20 20:08:11 +03:00
Nikolay Igotti 0165e96b8e Update to Xcode 10.0 (#2078)
* Update to Xcode 10.0

* Promote iOS version to 9.0
2018-09-18 13:51:48 +03:00
Dmitriy Dolovov 1c91020c6c Safe determining Kotlin/Native meta version (with error reporting on unknown version) 2018-09-14 17:09:39 +03:00
Dmitriy Dolovov 0853f2cec9 Safe determining Kotlin/Native meta version 2018-09-14 16:56:30 +03:00
alexander-gorshenev 15eb28a2a8 Allow absent abiVersion and compilerVersion in library manifest, just… (#2061)
* Allow absent abiVersion and compilerVersion in library manifest, just treat them as mismatching.

* Teach `klib info` to print more of library versioning.
2018-09-13 18:02:57 +03:00
Dmitriy Dolovov c40396bf19 Split serialized package fragments metadata (#2051) 2018-09-13 18:01:56 +03:00
alexander-gorshenev 27ce3b194d Provided library versioning in klib. (#2038)
* Provided library versioning in klib.
* A test for library mismatch messages.
2018-09-13 02:10:34 +03:00
Alexander Gorshenev 6d539e5e40 Make sure zip filesystems are closed on exit. 2018-09-06 14:10:12 +03:00
Ilya Matveev ec8e619178 [dependencies] Add timeout for dependency extraction (#1947) 2018-08-28 11:51:06 +07:00
Sergey Bogolepov 5fe0a9c77c Handle init-time exceptions on all targets. (#1931) 2018-08-27 19:03:08 +03:00
Dmitriy Dolovov 6d8ae1650f KLIB reader: comments added (#1937) 2018-08-25 18:33:04 +03:00
Dmitriy Dolovov 076f6a7c99 KLIB reader: separate library reading from dependency resolving (#1925) 2018-08-24 10:29:13 +03:00
Dmitriy Dolovov f0cfbb9918 move Kotlin/Native metadata deserialization and KLIB reader to a separate module (#1908)
1. move Kotlin/Native metadata deserialization and KLIB reader to a separate module
2. decouple KLIB reader from ModuleDescriptor creation
2018-08-22 14:01:20 +03:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
Sergey Bogolepov 5a66f91da5 Update LLVM to 6.0.1 and WebAssembly target refactoring (#1788)
* wasm updates: removed binaryen, simplified morecore and launcher.js
* Updated LLVM toolchain to 6.0.1
2018-08-14 21:08:45 +03:00
Nikolay Igotti 73b6935da7 Fix .def file generation. (#1859) 2018-08-10 12:02:18 +03:00
Vasily Levchenko 856392a6e1 [util][no-java] added File.equals/.hashCode 2018-07-11 09:49:14 +03:00
Nikolay Igotti 0da110a786 32-bit iOS support (#1708) 2018-06-21 18:36:17 +03:00
Nikolay Igotti f5741c475b Update XCode version. (#1691) 2018-06-14 16:57:21 +03:00
Nikolay Igotti b8fa1bcdd3 Move to XCode 9.4, add CoreML and ClassKit. (#1637)
* Move to XCode 9.4, add CoreML and ClassKit.

* Add assertSame and assertNotSame to stdlib.

* Fix SDK properties.
2018-05-31 23:21:17 +03:00
Alexander Gorshenev 40a58a9a61 Eliminate stack protection from the runtime.
There is some positive performance effect:
before: Average Ring score: absolute = 177,5160 us +- 0,5352 us, ratio = 8,68 +- 0,10
after:  Average Ring score: absolute = 171,3093 us +- 2,3758 us, ratio = 8,72 +- 0,23
2018-05-23 13:50:00 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
Svyatoslav Scherbina b218a3a7a2 Add 'disableDesignatedInitializerChecks' .def file flag
When enabled for an Objective-C library, compiler would permit to call
a constructor of a class from this library as super-constructor even if
it is not marked as designated.

Fix #1539
2018-05-22 10:03:16 +03:00
Vasily Levchenko 361cde1ed1 [build][gradle] switch to gradle-4.7 2018-05-21 12:25:26 +03:00
ilmat192 b99836edff [gradle-plugin] Provide a simple tooling model for IDE (#1578) 2018-05-15 17:37:46 +03:00
Nikolay Igotti 0c0446b56d Support Xcode 9.3.1, allow version check override (#1588) 2018-05-14 07:15:10 -07:00
Ilya Matveev 301af84358 [libraries] Move SearchPathResolver into shared 2018-05-11 16:08:47 +07:00
Ilya Matveev d525fea65c Pass konanVersion to TeamCity 2018-05-08 13:31:54 +07:00
Ilya Matveev 7cfcb1e5dc [version] Don't specify build number and meta for release builds 2018-04-27 11:37:45 +07:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
Ilya Matveev 36fe07e159 [gradle-plugin] Fix version according to the new versioning system 2018-04-24 19:46:52 +07:00
Ilya Matveev 89d0886043 [version] Annotate properties used by version generator as inputs 2018-04-24 19:46:52 +07:00
Alexander Gorshenev 6dc6ba5137 Allow arch and family susbtitutions in manifest files. 2018-04-24 12:20:41 +03:00
Vasily Levchenko a23ca71e5c [build][version] more accurate version string for local builds (drops -1 in build number) 2018-04-24 00:11:40 +03:00