Files
swift-mirror/test/DebugInfo/patternmatching.swift
Adrian Prantl d65b8baa76 Update IRGenDebugInfo for LLVM D95617.
In https://reviews.llvm.org/D95617 LLVM stopped to emit debug values without a
location as an optimization for inlined functions. Because Swift is emitting
dbg.values(undef) for sizeless variables even at -Onone, we need to make sure
all local variables are preserved even at -Onone.

rdar://82038523
(cherry picked from commit c40b8f38b8)
2021-08-20 13:22:40 -07:00

4.0 KiB