File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 28
28
# define SWIFT_CALL __attribute__ ((swiftcall))
29
29
#endif
30
30
31
- #if __has_attribute(always_inline) && __has_attribute(nodebug)
31
+ #if __has_attribute(transparent_stepping)
32
+ #define SWIFT_INLINE_THUNK_ATTRIBUTES \
33
+ __attribute__ ((transparent_stepping))
34
+ #elif __has_attribute(always_inline) && __has_attribute(nodebug)
32
35
#define SWIFT_INLINE_THUNK_ATTRIBUTES \
33
36
__attribute__ ((always_inline)) __attribute__((nodebug))
37
+ #else
38
+ #define SWIFT_INLINE_THUNK_ATTRIBUTES
39
+ #endif
40
+
34
41
#if defined(DEBUG) && __has_attribute(used)
35
42
// Additional 'used' attribute is used in debug mode to make inline thunks
36
43
// accessible to LLDB.
37
44
#define SWIFT_INLINE_THUNK_USED_ATTRIBUTE __attribute__ ((used))
38
45
#else
39
46
#define SWIFT_INLINE_THUNK_USED_ATTRIBUTE
40
47
#endif
41
- #else
42
- #define SWIFT_INLINE_THUNK_ATTRIBUTES
43
- #define SWIFT_INLINE_THUNK_USED_ATTRIBUTE
44
- #endif
45
48
46
49
// / The `SWIFT_INLINE_THUNK` macro is applied on the inline function thunks in
47
50
// / the header that represents a C/C++ Swift module interface generated by the
You can’t perform that action at this time.
0 commit comments