swift
f2cf7b2b - Skip propagating debug_values with reconstruction blocks in async code (#91532)

Commit
92 days ago
Skip propagating debug_values with reconstruction blocks in async code (#91532) This mandatory pass normally only runs at -Onone, where debug reconstruction blocks don't exist, but if the optimized standard library is inlined into unoptimized code in embedded swift, without this guard, it would crash the compiler. Such debug_values are now left alone and don't get propagated across async edges. Ideally they would be supported, but it would require significant changes to the pass, and it only triggers in a very narrow scenario. Fixes a crash in the embedded/observation.swift test, introduced by #91394
Author
Parents
Loading