Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/Utilities/EscapeUtils.swift
Erik Eckstein fc7c9931b3 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-04 11:56:03 +02:00

38 KiB