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.
2 parents 2613b73 + 567602b commit 50724aaCopy full SHA for 50724aa
stdlib/public/core/DebuggerSupport.swift
@@ -283,6 +283,10 @@ public enum _DebuggerSupport {
283
}
284
285
286
+ // LLDB uses this function in expressions, and if it is inlined the resulting
287
+ // LLVM IR is enormous. As a result, to improve LLDB performance we have made
288
+ // this stdlib_binary_only, which prevents inlining.
289
+ @_semantics("stdlib_binary_only")
290
public static func stringForPrintObject(_ value: Any) -> String {
291
var maxItemCounter = Int.max
292
var refs = Set<ObjectIdentifier>()
0 commit comments