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.
retain
1 parent e65c105 commit 8d2f500Copy full SHA for 8d2f500
stdlib/public/runtime/SwiftRT-ELF-WASM.cpp
@@ -28,7 +28,7 @@ static constexpr const void *__dso_handle = nullptr;
28
#if SWIFT_ENABLE_BACKTRACING
29
// Drag in a symbol from the backtracer, to force the static linker to include
30
// the code.
31
-static const void *__backtraceRef __attribute__((used))
+static const void *__backtraceRef __attribute__((used, retain))
32
= (const void *)swift::runtime::backtrace::_swift_backtrace_isThunkFunction;
33
#endif
34
0 commit comments