Commit Graph

303 Commits

Author SHA1 Message Date
Elena Lepilkina 8ed4279759 [K/N] Fix wasm build 2021-11-03 10:32:27 +00:00
Elena Lepilkina f67941e244 [K/N] Replaced safe points to prologue 2021-11-02 12:04:45 +00:00
Elena Lepilkina 4d1c2c90d6 [K/N] Assertion for checking frame in LeaveFrame for old MM 2021-11-02 12:04:44 +00:00
Elena Lepilkina 48e3df5224 [K/N] Small refactoring (review fixes) 2021-11-02 12:04:42 +00:00
Elena Lepilkina 778bbaf5b0 [K/N] Added frame check in LeaveFrame 2021-11-02 12:04:41 +00:00
Elena Lepilkina 2d72f4d5a9 [K/N] Added checks for tests that current frame after catch is right 2021-11-02 12:04:40 +00:00
Elena Lepilkina c294365068 [K/N] Catch exceptions in CAdapters when caches enabled (KT-47828 fixed) 2021-11-02 12:04:38 +00:00
Elena Lepilkina cde51ecc3a [K/N] Added function SetCurrentFrame to use in unwind block 2021-11-02 12:04:37 +00:00
Pavel Kunyavskiy 937f4c1dab [K/N] Separate sweep pass for extra-objects
^KT-49325
2021-10-27 12:11:17 +00:00
Pavel Kunyavskiy ae64af09fb [K/N] Add ability to get base object from extra data
^KT-49325
2021-10-27 12:11:16 +00:00
Pavel Kunyavskiy da3e31cd3a [K/N] Rework allocating of ExtraObjectData objects.
^KT-49325
2021-10-27 12:11:16 +00:00
Pavel Kunyavskiy 495a10dd7f [K/N] Add test failing with asan
^KT-49325
2021-10-27 12:11:15 +00:00
Mattia Iavarone c92e34ca9f [Native] Enable real Android Native executables (#4624)
* Add AndroidProgramType binary option, override entry point, fix linker flags

* Add Konan_main_standalone entry point to the Android runtime

* Add compiler warning

* Make standalone programs print to stdout

* Fix warning message and readability
2021-10-26 11:33:17 +07:00
Mattia Iavarone 64a0d492b9 Fix Arm32 atomics 2021-10-25 22:31:15 +03:00
Pavel Kunyavskiy 6d3158b275 [K/N] Adjust addresses when passing to source line resolution 2021-10-21 12:18:39 +00:00
Ilya Matveev 8466f26093 [K/N][Runtime] Add \x01_munmap to the CallsChecker's excludes 2021-10-19 05:05:18 +00:00
Ilya Matveev 3925b05274 [K/N][Runtime] Add more tests for thread state guards 2021-10-18 11:32:17 +00:00
Ilya Matveev ca7ae0d539 [K/N][Runtime] Use std::atomic_flag in SpinLock 2021-10-18 11:32:16 +00:00
Ilya Matveev a619b78954 [K/N][Runtime] Call yield in SpinLock's loop 2021-10-18 11:32:16 +00:00
Ilya Matveev 629ea1036e [K/N][Runtime] Support thread state switching in spin locks
Issue #KT-49013 Fixed
2021-10-18 11:32:16 +00:00
Pavel Kunyavskiy f03c897dc4 [K/N] Move fields from KFunctionImpl to functions 2021-10-14 11:22:27 +00:00
Pavel Kunyavskiy 7a52ed73de [K/N] Simplify KPropertyImpl 2021-10-14 11:22:27 +00:00
Pavel Kunyavskiy 694864ae76 [K/N] Support kType generation as ConstantValue 2021-10-14 11:22:26 +00:00
Pavel Kunyavskiy d222e95877 [K/N] Remove unused old buggy intrinsic 2021-10-14 11:22:23 +00:00
Pavel Kunyavskiy c7f182adbf [K/N] Introduce intrinsic constant constructors 2021-10-14 11:22:22 +00:00
Pavel Kunyavskiy 0764cef82f [K/N] Rewrite stacktrace formatting
It was inconsistent between platforms, which leads to strange work of
different parsers, including one in gradle plugin.

Now it should work more or less like it was on MacOS before recent
changes on all platforms.

^KT-49126
2021-10-14 11:18:22 +00:00
Pavel Kunyavskiy 5a4a78f2c6 [K/N] Throw exception on abstract class instantiation in ObjC 2021-10-08 11:39:43 +00:00
Sergey Bogolepov 7552767d85 [K/N] Add munmap to the calls checker 2021-10-05 12:37:03 +00:00
Svyatoslav Kuzmich ab9a23cbfa [Wasm][Stdlib] Reuse K/N collections and StringBuilder 2021-10-01 17:18:49 +03:00
Svyatoslav Kuzmich 6ad6bca503 [Stdlib] Fix K/N StringBuilder insertRange capacity issue 2021-10-01 17:18:48 +03:00
Abduqodiri Qurbonzoda 1ae7c2af21 Use JS substituteGroupRefs implementation in Native as well 2021-09-30 17:38:03 +00:00
Abduqodiri Qurbonzoda dc2f5eab25 Align JS and JVM behavior of Regex replace function #KT-28378 2021-09-30 17:38:03 +00:00
Abduqodiri Qurbonzoda cca5f82aa0 Handle container builders capacity overflow 2021-09-30 16:01:57 +00:00
Abduqodiri Qurbonzoda f8bcba0b76 Align JS String.equals/compareTo(ignoreCase) behavior with JVM #KT-48999 2021-09-30 15:35:50 +00:00
Pavel Kunyavskiy e15cfe8f70 [K/N] Use gradle-level conditional compilation for core symbolication 2021-09-29 07:00:07 +00:00
Pavel Kunyavskiy 9f2035c43d [K/N] Don't assume all apple target support CoreSymbolication 2021-09-29 07:00:07 +00:00
Alexander Shabalin 43f64bc7b4 [K/N] Fix timer tests 2021-09-28 22:50:52 +00:00
Ilya Matveev 37e9d8c8f5 [K/N][GC] Fix enabling the gc-aggressive mode 2021-09-28 08:18:38 +00:00
Alexander Shabalin 34c89d855a [K/N] Improve logging with multithreading 2021-09-27 09:56:10 +00:00
Alexander Shabalin 84e7b53926 [K/N] Rework GCScheduler to schedule GC on its own. 2021-09-27 08:03:55 +00:00
Alexander Shabalin f4c5a047ac [K/N] Build separate common_gc for each GC. 2021-09-27 08:03:54 +00:00
Alexander Shabalin 3e8c1be5c1 [K/N] Add RepeatedTimer 2021-09-27 08:03:53 +00:00
Ilya Gorbunov 7666377565 Control Duration init block assertions on JVM with -ea option
On other platforms enable them unconditionally
2021-09-24 16:17:54 +00:00
Ilya Gorbunov 96611de344 Stabilize Duration, DurationUnit and related top-level functions KT-46784
Co-authored-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2021-09-24 16:17:53 +00:00
Ilya Gorbunov 0fb25ccc2b Minor: update copyright year in Native stdlib generated sources 2021-09-23 21:06:17 +03:00
Ilya Gorbunov b9f78d002a Do not duplicate Range/Progression sources in Native runtime 2021-09-23 21:06:17 +03:00
Pavel Kunyavskiy 80fbc262b3 [K/N] Fix libbacktrace compiler options 2021-09-21 20:10:32 +00:00
Abduqodiri Qurbonzoda 261d0c2783 Promote collection builders to stable #KT-47421 2021-09-21 11:25:28 +00:00
Abduqodiri Qurbonzoda 93833f7db2 Advance K/N StringBuilder.appendln() deprecation level to ERROR #KT-38754 2021-09-20 15:25:53 +03:00
Pavel Kunyavskiy c704fd6ae7 [K/N] Support stacktrace using libbacktrace 2021-09-20 11:28:08 +00:00