Commit Graph

24 Commits

Author SHA1 Message Date
Igor Chevdar 55632f5df2 [K/N][runtime] Used internal isInstance 2023-05-22 12:49:58 +00:00
Pavel Punegov 71eaa43d95 [K/N][build] Move Native plugin to build-tools
This is K/N only plugin that shouldn't be
in the buildSrc of the whole Kotlin project
2023-02-27 10:48:27 +00:00
Pavel Punegov 9ea299b0e7 [K/N][build] Fix Native plugin: remove archive file before adding
Merge-request: KT-MR-8783
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2023-02-17 11:28:41 +00:00
Mads Ager 6b01886334 [K/N] Avoid string copying when setting up bridge debug info.
The name of the function was copied at least 4 times. This reduces
a 56 seconds codegen phase in a non-optimized build by 2 seconds.
2023-01-13 09:28:31 +00:00
Mads Ager 876cc472b4 Remove unused debug info functions.
These functions return the underlying buffer for a std::string
which you should never do as it is only valid while the std::string
is in scope.
2022-05-11 19:58:12 +03:00
Sergey Bogolepov a78fcd6b64 [K/N] Separate ClangArgs for jni and native
Since LLVM for Windows is now native instead on MinGW, we have to
compile code in a different environment in case of JNI. This commits
just separates ClangArgs into two subclasses without actual behavior
changes.
2021-08-03 05:42:05 +00:00
Sergey Bogolepov 36386de9a2 [Native] Drop explicit -fPIC flag setup
We don't need to explicitly set -fPIC flag everywhere
because since d82109cc92
it is set by default for all ClangArgs users.
2021-06-11 12:18:14 +00:00
Vasily Levchenko 65dd798818 [build][native support] intoduced new native support. 2021-02-24 11:07:18 +01:00
Vasily Levchenko 7b73917217 [build][dist] global dist fixed 2021-02-24 11:07:17 +01:00
Vasily Levchenko c85c3ac123 [build] joint (step 1)
(cherry picked from commit 7d0775f7e69ab900200bcf1fa78b94d68e6bd4f6)
2021-02-24 11:04:59 +01:00
Alexander Shabalin a362742a37 Enable C++17 (#4623) 2021-01-19 13:37:37 +03:00
Vasily Levchenko a47081325b [debug][bindings][python][code formating] PEP8 2020-11-28 21:07:21 +01:00
Vasily Levchenko f7c0ed09e4 [debug][bindings][python][g/c] remove useless binding debugging efforts 2020-11-28 21:07:21 +01:00
Vasily Levchenko d37e145845 [debug][bindings][python] fix issue with not syntectic object on not fully initialized object
this issue happens on `constructor(xxx):this(yyy)`, type_info returns 0 in this case
2020-11-28 21:07:20 +01:00
Vasily Levchenko 77c992b7bb [debug][bindings][python] fix issue KonanObjectSyntheticProvider::get_child_index with calculation index by name 2020-11-28 21:07:20 +01:00
Vasily Levchenko c28fd8e980 [debug][bindings][python] 2.7 compatibility 2020-11-28 20:48:59 +01:00
Vasily Levchenko db3cdddd7a [debug][bindings][python] logging 2020-11-28 19:29:28 +01:00
Vasily Levchenko 64f1074e53 [debug][bindings][python] exception hook 2020-11-28 19:29:27 +01:00
Vasily Levchenko c143250b99 [debug][bindings][python] drop all optimizations and skip deep synthactic object building 2020-11-28 19:29:27 +01:00
Vasily Levchenko 9523dbbe2c [debug][bindings][python] benchmarcking 2020-11-28 19:29:27 +01:00
Vasily Levchenko 91b6f1221d [debug][bindings][python][g/c] logging 2020-11-28 19:29:27 +01:00
Vasily Levchenko 624ed9853d [debug][bindings][python]pass string limits deeper in case of arrayprinting 2020-11-28 19:29:26 +01:00
Vasily Levchenko ec70bbf5c7 [debug][bindings][python] drop struct modificator 2020-11-28 19:29:26 +01:00
Stanislav Erokhin f624800b84 Move everything under kotlin-native folder
I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
2020-10-27 21:00:28 +03:00