Commit Graph

1445 Commits

Author SHA1 Message Date
Svyatoslav Scherbina b6bf2daafd Don't link default libraries that are used only for resolve 2017-11-02 15:14:02 +03:00
Svyatoslav Scherbina 4431f8cbd9 Implement recording all modules used during bitcode generation 2017-11-02 15:14:02 +03:00
Svyatoslav Scherbina c4b8fa806f Add link from module descriptor to library reader 2017-11-02 15:14:02 +03:00
Nikolay Igotti 915d4bc826 Fix object init/deinit bug, refactoring (#1000) 2017-11-02 14:37:25 +03:00
Ilya Matveev 5f1dc68efc Fix clean task after dependencies path change 2017-11-02 12:35:45 +03:00
Ilya Matveev ea422a87f3 Store native dependencies in HOME/.konan 2017-11-02 12:35:45 +03:00
Vasily Levchenko a917d044bd [comment] missed legal header (#991) 2017-10-30 17:06:00 +03:00
Aleksey Kladov 9f9f34d2a3 [debug] make test module name more specific 2017-10-27 11:28:39 +03:00
Aleksey Kladov 084b49d04b [compiletest]: document and improve lldb session dsl 2017-10-27 11:28:39 +03:00
Aleksey Kladov 635288ec85 [compiletest]: use common infrastructure to detect the host OS 2017-10-27 11:28:39 +03:00
Aleksey Kladov 2b6c284ff8 [compiletest]: add JUnit4-based infrastructure for testing compiler 2017-10-27 11:28:39 +03:00
Vasily Levchenko fea734ec83 [codegen][debug] generation debug info for vals. 2017-10-26 15:45:03 +03:00
Alexander Gorshenev 31662cc445 Allow specifying top level target and flavor in nativeInteropPlugin. 2017-10-25 12:38:57 +03:00
Alexander Gorshenev feb581601e After combining all tests into a single binary,
we need to increase wasm32 stack size a little,
for the `parse0` test to pass.
2017-10-24 12:24:55 +03:00
Nikolay Igotti a4130a0d2d Fix hard-float on Raspberry Pi, small cleanups. 2017-10-24 11:03:24 +03:00
alexander-gorshenev 5700fa8cea Allow a couple of test pass on linux_mips32 target. 2017-10-23 19:34:34 +03:00
Alexander Gorshenev dc8840e14c No testLibrary for cross compilation targets. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 886ef5fe5a Moved a newly created test to Standalone category. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 3c5602017f Several typos in comments and messages. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 500492930b Renamed isDefaultLink to isDefaultLibrary. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev a8c1851534 Make user provided libraries have precedence over default libraries.
Simplified duplicate elimination.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev 19fe0168ad Tuned test golden value. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 7d8f7e54c3 Recursively resolve libraries after immediateLibraries have been calculated. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev e2e883ee08 Introduced testLibrary and a test utilizing it. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 7ade68452e Brought back our ability to have non-platform specific default libraries.
Separated dist/klib libraries into common and platform parts to exclude name clash.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev 0f693d63e4 Eliminate a warning due to an unnecessary cast. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 35eff51749 Do not apply purging to user provided libraries. 2017-10-23 16:03:20 +03:00
Pavel Punegov 85a782cd7e Disable test for wasm32 due to KT-20862 2017-10-20 18:25:05 +03:00
Pavel Punegov 9633a09c07 Exclude tests that could not be used with TestRunner automatically 2017-10-20 18:25:05 +03:00
Pavel Punegov 535e18fc20 Simplify dependence on buildKonanTests. Remove arguments from test 2017-10-20 18:25:05 +03:00
Pavel Punegov d56a4f8830 Fixes to tests: forgotten package names and tests 2017-10-20 18:25:05 +03:00
Pavel Punegov a6af8aa11c Uncomment incorrectly commented out tests 2017-10-20 18:25:05 +03:00
Pavel Punegov 35505007d2 TestRunner support in test's build.gradle
* Fixes to tests
 * RunKonanTest runs tests build with TestRunner
 * Standalone tests
2017-10-20 18:25:05 +03:00
Pavel Punegov 9d077d7f4f BC native tests port to Konan's TestRunner 2017-10-20 18:25:05 +03:00
Vasily Levchenko d470df57c0 [tests][teaspot opengl] fix build 2017-10-19 10:06:08 +03:00
Alexander Gorshenev 77eff75783 Swapped adding manifest addend properties and depends clause update. 2017-10-18 15:59:07 +03:00
Alexander Gorshenev e84ab4abfe Change manifest 'dependencies' field for 'depends'.
To reduce user confusion on reading manifests.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev 6cab9a1038 Use the same 'package' field in manifest as in .def-file.
Eliminate pkg.
Use explicit 'interop = true' clause to distingush interop libraries.
2017-10-18 15:59:07 +03:00
Alexander Gorshenev c7190141b1 Mandate to demonstrate a ModuleDescriptor as a proof that the resolve is over
for the recursive library resolution.
2017-10-18 12:11:01 +03:00
Alexander Gorshenev bddada22e5 Rewritten unneeded library purge machinery. 2017-10-18 12:11:01 +03:00
Svyatoslav Scherbina ffb0d0cfcb Add quickfix for unsupported typedef NSFoo Bar. 2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina e8f97b0436 Represent Objective-C block pointers in methods as Kotlin functions
Also do some refactoring.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina caf6719fc4 Make linkage issues more understandable in Objective-C interop 2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina a0dc2ecef2 Enable method signature checks when overriding Objective-C method 2017-10-17 13:23:21 +03:00
Aleksey Kladov 3fb208cb9d [debug] fix line info for artificial IrElements (#941)
Some IrElements have -1 as a startOffset (for example, generated methods
of data classes). To represent such offsets in debuginfo, we should use
0 instead of -1, because line/columns are one-based unsigneds.

closes KT-20443
2017-10-16 16:16:51 +03:00
Mike Sinkovsky f4c90e1a86 fix gradle 4.2 warning on windows (#937) 2017-10-13 12:54:22 +03:00
Vasily Levchenko 6457e97364 [kotlin compiler][update] 1.1-20171004.235336-906
kotlin-script-runtime: 1.1-20171004.235353-597
kotlin-stdlib: 1.1-20171004.235357-905
kotlin-reflect: 1.1-20171004.235348-905
kotlin-stlib-jdk8: 1.1-20171004.235402-815
kotlin-gradle-plugin: 1.1-20171004.235345-884
2017-10-12 15:16:30 +03:00
Vasily Levchenko 596c8c086c [build] projet-report plugin added
for maintenence needs e.g.
./gradlew htmlDependencyReport
gitves nice reports of dependencies and helps in compiler update
2017-10-12 15:16:30 +03:00
Alexander Gorshenev 17ae2343d4 There is not platform.posix for wasm32. 2017-10-12 10:56:21 +03:00
Alexander Gorshenev 2445357166 A test to check we don't throw away a library dependency only because it
it a default lib not needed in the main program.
2017-10-11 17:05:12 +03:00