mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
While tightening the requirements of the debug info generator in IRGenSIL I noticed that SILCloner didn't correctly transfer variable debug info on alloc_box and alloc_stack instructions. In order to make these mistakes easier to find I added an assertion to SILBuilder and fixed all issues uncovered by that assertion, too. The result is a moderate increase in debug info coverage in optimized code. On stdlib/public/core/OSX/x86_64/Swift.o "variables with location" increases from 60134 to 60299.
25 KiB
25 KiB