mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Those functions are effectively outlined functions with an alwaysinline attribute. By removing their debug info and relying on the inliner to propagate the call site location to the inlined instructions, we restore the "original" locations as if the function had never been outlined. This is technically relying on an implementation detail of the inliner, but it seems to be the simplest way of addressing this issue.
1.3 KiB
1.3 KiB