Alexander Shabalin
c600b74459
[K/N][tests] Restore ir_providers/hello.kt ^KTI-1597
2024-02-22 14:56:13 +00:00
Alexander Shabalin
dc4f12f29c
Revert "[K/N][Tests] Migrate driver test llvm_variant_dev"
...
This reverts commit d8a90f55a8 .
2024-02-22 14:56:13 +00:00
Alexander Shabalin
4765cfda53
Revert "[K/N][Tests] Migrate test override_konan_properties0"
...
This reverts commit 9ef051dbc5 .
2024-02-22 14:56:13 +00:00
Alexander Shabalin
8518c3f54f
Revert "[K/N][Tests] Migrate test override_konan_properties0 and add testDriverVersion"
...
This reverts commit fbe8db4b45 .
2024-02-22 14:56:13 +00:00
Yahor Berdnikau
6b19b8b9d0
[Repo] Don't use kotlinOptions in repo build scripts
...
^KT-63419 In Progress
2024-02-22 14:48:10 +00:00
Ivan Kylchik
f1bc542d74
[IR] Change the return type of getFunctionDeclaration to be nullable
...
#KT-64807
2024-02-22 09:55:58 +00:00
Vladimir Sukharev
bd7ffc71aa
[K/N][Tests] Migrate test kt62262.kt
...
^KT-61259
2024-02-20 21:10:33 +00:00
Vladimir Sukharev
3d70be0c5f
[K/N][Tests] Migrate test kt40426
...
^KT-61259
2024-02-20 18:56:54 +00:00
Johan Bay
d50b02adaf
[K/N] only include bodies inside inlines for headers
...
Also renames the "header klib serializaion" option to something
that hopefully slightly better reflects its meaning
^KT-65442
2024-02-20 08:03:08 +00:00
Johan Bay
a2516548e4
[K/N] avoid overwriting header when output paths are equal
...
^KT-65442
2024-02-20 08:03:07 +00:00
Ivan Kylchik
b0171dea63
[IR] Move FunctionInlining into separate module
...
#KT-64806 Fixed
2024-02-19 20:14:16 +00:00
Ivan Kylchik
35b13775d8
[IR] Move declaration of origins for IR inliner into LoweredStatementOrigins
...
#KT-64806
2024-02-19 20:14:16 +00:00
Vladimir Sukharev
2b2c685827
[K/N][Tests] Migrate dylib-interop-exe tests
...
^KT-61259
2024-02-19 18:44:08 +00:00
Mark Mann
00ef313df2
[K/N] Add binary option to produce error on mangled objc names ( #5264 )
...
objcExportErrorOnNameCollisions=true binary option makes the compiler
emit an error whenever it mangles a name emitted by ObjCExport.
^KT-65863 Fixed
2024-02-16 18:17:30 +00:00
Vladimir Sukharev
20f6b0cb0c
[K/N][Tests] Migrate test ir_providers_mismatch
...
^KT-61259
2024-02-15 10:13:56 +00:00
Vladimir Sukharev
fbe8db4b45
[K/N][Tests] Migrate test override_konan_properties0 and add testDriverVersion
...
^KT-61259
2024-02-14 12:16:23 +00:00
Vladimir Sukharev
9ef051dbc5
[K/N][Tests] Migrate test override_konan_properties0
...
^KT-61259
2024-02-14 12:16:22 +00:00
Vladimir Sukharev
d8a90f55a8
[K/N][Tests] Migrate driver test llvm_variant_dev
...
^KT-61259
2024-02-14 12:16:22 +00:00
Vladimir Sukharev
3ad8fed5a3
[K/N][Tests] Migrate test embedStaticLibraries.kt
...
^KT-61259
2024-02-14 11:56:59 +00:00
Pavel Kunyavskiy
6e8a7d4662
[ObjCInterop] Implement @ObjCSignatureOverride
...
This annotation leads to conflicting overloads error supression,
in case where several function with the same argument types,
but different argument names are inherited from ObjC class.
We need to implement it in both K1 and K2 to make the IDE experience
better.
But the annotation itself wouldn't be available in K1.
^KT-61323
2024-02-14 11:44:01 +00:00
Pavel Kunyavskiy
d100a07981
[K/N] Move ObjCOverridabilityCondition to proper module
...
It was not active in diagnostic tests otherwise.
2024-02-14 11:44:01 +00:00
Vladimir Sukharev
3b4ca56f74
[K/N][Tests] Migrate test platform_zlib.kt
...
^KT-61259
2024-02-14 09:55:06 +00:00
Vladimir Sukharev
06a89a0061
[K/N][Tests] Migrate test withSpaces.kt
...
^KT-61259
2024-02-13 22:14:30 +00:00
Vladimir Sukharev
34af80943c
[K/N][Tests] Remove obsolete cppInterop tests
...
^KT-61259
2024-02-13 21:48:40 +00:00
Pavel Punegov
6b9844705e
[K/N] Make InfoPlistBuilder add DT* properties
...
The Firebase TestLab requires those properties to be present,
otherwise fails with verification errors.
These properties are specific to the Xcode installation or
toolchain used, and should be retrieved from it, not hardcoded.
See also KT-65601.
Part of the ^KT-58928
Merge-request: KT-MR-13964
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2024-02-13 11:14:24 +00:00
Vladimir Sukharev
6c78ec88c2
[K/N][Tests] Cleanup support code for objCFrameworks in old testinfra
...
^KT-61259
2024-02-13 07:43:25 +00:00
Alexander Shabalin
d92eecb985
[K/N][tests] Add :nativeCompilerUnitTest and :nativeCompilerTest ^KT-65392
...
- :nativeCompilerUnitTest are unit tests on K/N compiler.
- :nativeCompilerTest are tests using K/N compiler and should be run in
many different compilation modes that K/N supports.
2024-02-12 17:52:38 +00:00
Vladimir Sukharev
7cb372e66f
[K/N][Tests] Migrate test signext_zeroext_objc_export.kt
...
^KT-61259
2024-02-11 21:30:03 +00:00
Vladimir Sukharev
370f138ad4
[K/N][Tests] Migrate test signext_zeroext_interop.kt
...
^KT-61259
2024-02-11 12:44:31 +00:00
Alexander Shabalin
4468167a64
[K/N] Move kotlin-native/utilities/basic-utils to compiler/utils
2024-02-08 20:43:11 +00:00
Igor Chevdar
27fa3ebfb3
[K/N] Fallback in case turned off liveness analysis
...
#KT-65153 Fixed
2024-02-07 18:54:31 +00:00
Igor Chevdar
6c05219485
[IR][K/N] Extracted explicit var spilling phase from coroutines lowering
...
Not only does it give some flexibility but also it could be turned off
in the future (by providing trivial replacement) as a workaround
#KT-65153
2024-02-07 18:54:31 +00:00
Igor Chevdar
954eade78c
[IR][K/N] Refactored a bit SuspendFunctionLowering
2024-02-07 18:54:31 +00:00
Vladimir Sukharev
95b1fba37f
[K/N][Tests] Clean up framework testing code
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
025771460c
[K/N][Tests] Migrate framework and objcexport tests
...
^KT-61259
2024-02-05 16:06:34 +00:00
Vladimir Sukharev
118a5cee06
[K/N][Tests] Cleanup tests code from old infra
...
^KT-61259
2024-01-31 16:17:21 +00:00
Vladimir Sukharev
524f0d335e
[K/N][Tests] Migrate objcSmoke & objcTests tests
...
^KT-61259
2024-01-31 16:17:21 +00:00
Igor Chevdar
4af8b70f62
[K/N][IR] Skip static fields in initializers lowering
...
#KT-65010 Fixed
2024-01-31 12:22:36 +00:00
Igor Chevdar
f220074d8a
[K/N][IR] Fixed a problem with top-level fields
...
#KT-65324 Fixed
2024-01-30 14:49:34 +00:00
Sergej Jaskiewicz
f39335b3f7
[klib] Don't pass around metadata serialization closure
...
Pass the metadata serializer instance instead. This allows to further
reduce code duplication by introducing the common interface
`KlibSingleFileMetadataSerializer` for abstracting away K1 and K2
representation of a source file, as well as reusing
`Fir2KlibMetadataSerializer` across different backends.
KT-64392
2024-01-29 21:07:43 +00:00
Sergej Jaskiewicz
93a1ceae75
[klib] Deduplicate KLIB serialization logic in K/JS and K/N
...
Introduce the new `serializeModuleIntoKlib` function that all KLIB-based
backends can use to serialize a module to a KLIB.
^KT-64392 Fixed
2024-01-29 21:07:43 +00:00
Sergej Jaskiewicz
c335cd0b1e
[IR] Remove unused IrMessageLogger from serialization logic
2024-01-29 21:07:43 +00:00
Sergej Jaskiewicz
f88d09a2f6
[IR] Move KtDiagnosticReporterWithImplicitIrBasedContext to ir.tree
...
So that it could be accessible from the `ir.serialization.common` module
2024-01-29 21:07:43 +00:00
vladislav.grechko
f318b5969d
Erase non-reified type parameters by-default when inlining.
...
Substitution of type arguments to non-reified type parameters may lead
to accidental reification, which should not be done (see ^KT-60174 for
examples). So, we should erase them, except the few cases.
^KT-60174: Fixed
^KT-60175: Fixed
2024-01-26 18:31:20 +00:00
Alexander Shabalin
ff76837d35
[K/N] Disable stress test with state checker ^KT-65261
2024-01-25 10:12:48 +00:00
Dmitriy Novozhilov
ed874262e3
[FIR] Part 3. Setup running platform checkers in CLI
...
^KT-58881
2024-01-24 10:45:00 +02:00
Anton Lakotka
71a03a7c7d
[K/N] Exclude stdlib from icedLibraries cache when passed explicitly
...
As part of KT-61559 stdlib is intended to be passed explicitly from
Gradle. However, CacheBuilder was not aware of such configuration
and was failing during cache building.
Author of this commit is Igor Chevdar
^KT-61430 Verification Pending
^KT-61559 Verification Pending
2024-01-23 22:14:32 +00:00
Alexander Shabalin
48f5e1d05c
[K/N] Deprecate -Xworker-exception-handling ^KT-65170
...
Also deprecate legacy option with error (was a warning since 1.9.20-Beta)
2024-01-22 19:22:44 +00:00
Vladimir Sukharev
54b06f5656
[K/N][Tests] Clean up remnants of kt49034 in old infra
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
e958e57c42
[K/N][Tests] Migrate test forwardDeclarationsCast.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00