mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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)
4.0 KiB
4.0 KiB