mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
And unbreak the LLDB testsuite. This patch fixes three problems with the original implementation: - Use SILBuilderWithScope instead of SILBuilder to avoid holes in the lexical scopes. - Use an artificial location for stores to the alloca to avoid the debugger stopping before the variable is initialized. - Recognize debug_value_addr instructions referring to an alloc_stack instruction to avoid introducing an extra indirection in the debug info. rdar://problem/31975108
676 B
676 B