We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
swift_async_extendedFramePointerFlags
1 parent f0cd714 commit 26b7cbcCopy full SHA for 26b7cbc
stdlib/public/Concurrency/Task.cpp
@@ -39,8 +39,12 @@
39
#include <Availability.h>
40
#include <TargetConditionals.h>
41
#if TARGET_OS_WATCH
42
-// Bitcode compilation for the watch precludes defining the following asm
43
-// symbols, so we don't use them.
+// Bitcode compilation for the watch device precludes defining the following asm
+// symbols, so we don't use them... but simulators are okay.
44
+#if TARGET_OS_SIMULATOR
45
+asm("\n .globl _swift_async_extendedFramePointerFlags" \
46
+ "\n _swift_async_extendedFramePointerFlags = 0x0");
47
+#endif
48
#else
49
asm("\n .globl _swift_async_extendedFramePointerFlags" \
50
"\n _swift_async_extendedFramePointerFlags = 0x0");
0 commit comments