Commit Graph

4956 Commits

Author SHA1 Message Date
Igor Chevdar 63d763338d Implemented DCE before code generation 2019-06-04 17:03:47 +03:00
Igor Chevdar 46edc3595d Merged different RTTI-related structure builders
This includes vTable, fields and associated objects
2019-06-04 17:03:47 +03:00
Igor Chevdar 9946fcb8c1 Rewrote annotations building from descriptors to IR 2019-06-04 17:03:47 +03:00
Igor Chevdar b843c95b52 Moved box & unbox functions one level up 2019-06-04 17:03:47 +03:00
Igor Chevdar 52c12dff82 DFG: Eliminate calls to <reinterpret> 2019-06-04 17:03:47 +03:00
Igor Chevdar c5430769de DFG: Supported IrFunctionReference 2019-06-04 17:03:47 +03:00
Igor Chevdar 7bf16abf66 Supported IrGetObjectValue in CallGraphBuilder 2019-06-04 17:03:47 +03:00
SvyatoslavScherbina dcf82951ed Add CoreLocation platform library on macOS (#3044)
Fix #3041
2019-06-04 10:15:01 +03:00
LepilkinaElena 69fd55656d Objective c interop benchmarks migration (#3004) 2019-06-03 16:32:14 +03:00
Vasily Levchenko 285bfc11f8 [kotlin compiler][update] 1.3.50-dev-770 2019-06-03 15:39:27 +03:00
Svyatoslav Scherbina 00a8ff3dc4 [kotlin compiler][update][temporary] workaround over fresh refactoring of fqNameSafe
- this commit should be just reverted when fqNameSafe will return.
2019-06-03 10:03:07 +03:00
Svyatoslav Scherbina 95a04cc804 Add kotlinx.cinterop.getOriginalKotlinClass(objCClass/objCProtocol)
Enables getting KClass for Kotlin classes produced to Objective-C header
2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina d1222907d4 Add ObjCProtocol type to interop runtime 2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina 3c8e12328c Add missing Objective-C interop tests 2019-05-31 17:49:14 +03:00
Svyatoslav Scherbina 77e69f5a3f Improve ObjCExport type mapping
Support Class type and forward declarations
2019-05-31 17:49:14 +03:00
Ilya Matveev ed3f3f976e Split shared: Add kotlin-native-utils into K/N distribution 2019-05-30 19:48:50 +03:00
Ilya Matveev ca6a17539d [kotlin compiler][update] 1.3.50-dev-630 2019-05-30 19:48:50 +03:00
Ilya Matveev ed01f85c21 Split shared: Use KonanVersion.CURRENT in compiler and interop 2019-05-30 19:48:50 +03:00
Ilya Matveev fb69d9284f Split shared: Add dependency on kotlin-native-utils
Gradle build can be configured but building dist
requires updating code in accordance with changes
made in the big Kotlin.
2019-05-30 19:48:50 +03:00
Ilya Matveev 1c2e324ad9 Split shared: Use KonanVersion in the generated version 2019-05-30 19:48:50 +03:00
Ilya Matveev a89bfba751 Split shared: Remove code copied to kotlin-native-utils 2019-05-30 19:48:50 +03:00
Ilya Matveev 873b40be80 Split shared: Merge TargetDefFile.kt and DefFile.kt 2019-05-30 19:48:50 +03:00
Ilya Matveev 01b1734177 Split shared: Remove Helper0
Reason: not used.
2019-05-30 19:48:50 +03:00
Ilya Matveev 54f896ed2e Split shared: Remove VisibleNamed
Reason: already included in kotlin-native-utils
2019-05-30 19:48:50 +03:00
Sergey Bogolepov 4b5429c2aa Use clang for android, linux and mingw targets (#13) 2019-05-30 19:48:50 +03:00
Sergey Bogolepov f5cad39065 Fix path to xcode additionalTools (#21) 2019-05-30 19:48:50 +03:00
Alexander Gorshenev c4e7a704be Allow dummy logger to produce messages with just printlns 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 3680ba30d3 Extended logger capabilities 2019-05-30 19:48:50 +03:00
Sergey Bogolepov 7cfdf3d0be Add xcode-addon to the list of internal dependencies. (#16) 2019-05-30 19:48:50 +03:00
Elena Lepilkina 950d677053 Incrementr Konan ABI version 2019-05-30 19:48:50 +03:00
Sergey Bogolepov 2d6f3e9d3f Fix Android configurables (#15) 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 48c570fd5d KonanAbiVersion is 9 now 2019-05-30 19:48:50 +03:00
Sergey Bogolepov c6f06ef51e Make Configurables more flexible (#9)
* Separated CLI tools into interfaces.
* Added `additionalToolsDir ` to `AppleConfigurables`
2019-05-30 19:48:50 +03:00
Dmitriy Dolovov 5503b12a17 Add filtering for standard KLIBs 2019-05-30 19:48:50 +03:00
Nikolay Igotti c3638e48dc Support linux/arm64. 2019-05-30 19:48:50 +03:00
Ilya Matveev e2f6cba307 Add a method to obtain MPP preset name for KonanTarget 2019-05-30 19:48:50 +03:00
Ilya Matveev cca3ad3faa Host manager: Provide API to obtain supported targets by host 2019-05-30 19:48:50 +03:00
Alexander Gorshenev 77b4beb88a .deleteOnExit() only deletes directories if they are empty. So mark the files with .deleteOnExit also. 2019-05-30 19:48:50 +03:00
LepilkinaElena e3d9169d25 Fix reading manifest properties got from def file (#7) 2019-05-30 19:48:50 +03:00
LepilkinaElena a6cb5e408a Rework cinterop linkerOpts/compilerOpts (KT-29970) (#5) 2019-05-30 19:48:50 +03:00
Nikolay Igotti 6b6c5b82d2 Avoid enforcing XCode version is shared code. 2019-05-30 19:48:50 +03:00
Ilya Matveev 6a770bc12c Split shared: Get rid of compiler version in resolvers
Needed to apply patches from the detached shared
2019-05-30 19:48:50 +03:00
Ilya Matveev 5745b31853 Revert "Depend on kotlin-native-shared from a separate repo"
This reverts commit a2370920db.
2019-05-30 19:48:50 +03:00
pyos 99561ab92f Use common EnumWhenLowering 2019-05-30 18:34:57 +03:00
Vasily Levchenko 2cc567291a [kotlin compiler][update][temporary] workaround over fresh refactoring of fqNameSafe
- this commit should be just reverted when fqNameSafe will return.
2019-05-30 16:25:15 +03:00
Vasily Levchenko cf2d45b774 [kotlin compiler][update] 1.3.50-dev-560 2019-05-30 16:25:15 +03:00
Nikolay Igotti ac9f260034 Document unsupported features. (#3035) 2019-05-30 13:23:23 +03:00
Nikolay Igotti ba02e62426 Disable init test on WASM. 2019-05-28 20:06:50 +03:00
SvyatoslavScherbina 0f6859f29c Add initial experimental support for @AssociatedObjectKey (#2947) 2019-05-28 18:28:25 +03:00
Svyatoslav Scherbina 3d83b86728 Implement ObjCExportLazy 2019-05-28 13:28:40 +03:00