Egor Zhdan
6ea561c4ec
[cxx-interop] Fix a test on 32-bit platforms, pt 2
...
rdar://128673905
2024-05-30 16:01:49 +01:00
Hamish Knight
d18bd49f8b
[test] Disable small-structs-pass-return-direct-in-c.swift for 32 bit
2024-05-29 14:33:55 +01:00
Egor Zhdan
2c6e58fa44
[cxx-interop] Fix a test on 32-bit platforms
...
rdar://102147255
2024-05-17 17:24:55 +01:00
Alex Lorenz
3948a2a5d3
[interop][SwiftToCxx] annotate inline thunks with SWIFT_INLINE_THUNK
...
This macro applies always_inline in addition to inline. It also applies artificial, which lets debugger know that this is an artificial function. The used attribute is added in debug builds to ensure that the symbol is emitted in the binary so that LLDB can invoke it.
2023-02-24 11:23:46 -08:00
Andrew Trick
940c676796
Temporarily disable an Interop test on 32-bit
...
See rdar://102147255
(Swift CI: [main] 1. OSS - Swift (Tools Opt+Assert, Stdlib DebInfo+Assert, Test Device non_executable)
TEST 'Swift(watchos-armv7k) :: Interop/SwiftToC/structs/small-structs-pass-return-direct-in-c.swift' FAILED)
2022-11-09 10:03:41 -08:00
Erik Eckstein
70981cf95f
tests: fix misspelled check prefixes
...
Fix the common error of using underscores instead of dashes.
In the rebranch this is an error (lit got more picky), but it also makes sense to fix the tests in the main branch
2022-11-08 17:27:48 +01:00
Alex Lorenz
3a9b6dce9d
[interop][SwiftToCxx] add support for emitting Swift stdlib dependency in one header file
...
This is the default behavior. You can disable this by specifying the -clang-header-expose-decls= flag explicitly when generating the header
2022-09-28 08:08:48 -07:00
Alex Lorenz
1696f94223
[interop][SwiftToCxx] reimplement function lowering to correctly distinguish between direct/indirect return values and parameters
2022-09-07 11:43:38 -07:00
Alex Lorenz
550de968d5
split the failing test to 64 bit only test file and unified file
2022-06-09 17:32:22 -07:00
Alex Lorenz
c7265f3b40
fix the macos tests
2022-06-09 08:52:22 -07:00
Alex Lorenz
132729906c
[interop][SwiftToCxx] pass / return Swift struct values between C/C++ and Swift
2022-06-08 07:03:24 -07:00