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.
1 parent 51bb830 commit acff321Copy full SHA for acff321
stdlib/public/runtime/RuntimeInvocationsTracking.cpp
@@ -19,6 +19,11 @@
19
#include "RuntimeInvocationsTracking.h"
20
#include "swift/Runtime/HeapObject.h"
21
22
+// This file is compiled always, even if assertions are disabled and no runtime
23
+// functions are being tracked. This is done to avoid recompiling Swift clients
24
+// using these APIs. They should be able to link against the standard library
25
+// independent of the fact whether assertions are enabled or not.
26
+
27
#define SWIFT_RT_FUNCTION_INVOCATION_COUNTER_NAME(RT_FUNCTION) \
28
invocationCounter_##RT_FUNCTION
29
0 commit comments