Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/Utilities/EscapeUtils.swift
Erik Eckstein 63da299622 EscapeUtils: consider that a pointer argument can escape a function call
Unlike addresses of indirect arguments, a pointer argument (e.g. `UnsafePointer`) can escape a function call.
For example, it can be returned.

Fixes a miscompile
rdar://154124497
2025-07-03 12:47:34 +02:00

39 KiB