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 2512478 commit f65ef8dCopy full SHA for f65ef8d
stdlib/public/Concurrency/Task.cpp
@@ -38,8 +38,12 @@
38
#include <Availability.h>
39
#include <TargetConditionals.h>
40
#if TARGET_OS_WATCH
41
-// Bitcode compilation for the watch precludes defining the following asm
42
-// 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.
43
+#if TARGET_OS_SIMULATOR
44
+asm("\n .globl _swift_async_extendedFramePointerFlags" \
45
+ "\n _swift_async_extendedFramePointerFlags = 0x0");
46
+#endif
47
#else
48
asm("\n .globl _swift_async_extendedFramePointerFlags" \
49
"\n _swift_async_extendedFramePointerFlags = 0x0");
0 commit comments