Commit Graph

3 Commits

Author SHA1 Message Date
Allan Shortlidge
cb578172ea Tests: Remove -disable-availability-checking in more tests that use concurrency.
Use the `%target-swift-5.1-abi-triple` substitution to compile the tests for
deployment to the minimum OS versions required for use of _Concurrency APIs,
instead of disabling availability checking.
2024-10-19 12:35:20 -07:00
Felipe de Azevedo Piovezan
665ada403e [DebugInfo] Simplify test for DynamicSelfLocation
We only want to check that there is no "!dbg" until the next line, we can
accomplish this by checking-same on the end-of-line regex marker.
2024-02-29 14:27:38 -08:00
Felipe de Azevedo Piovezan
07d58959a2 [DebugInfo] Fix dynamic self debug loc
The instructions related to producing DynamicSelf metadata are always placed at
the start of the function. This creates an issue: which debug location should be
used in order to preserve a sane line table? The current implementation just
uses w/e debug location is present in the new insertion point, which could, for
example, be a debug_declare whose location is not suitable for these purposes.

This patch addresses the issue by removing the debug location of instructions
associated with producing DynamicSelfMetadata.

rdar://120408665
2024-02-26 15:15:37 -08:00