Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[SIL Optimization][OSLogOptimization] Improve the logic for discovering the beginning of the string interpolation passed to os log APIs. #27419
This PR updates the
discovering the beginning of the string interpolation passed to os log APIs. The implementation follows the chain of dependencies starting from an initializer call to OSLogMessage until the first instruction of interpolation is discovered. This is more robust towards changes to the SIL generation of string interpolation literals.
I think that this may have regressed the Windows build: https://dev.azure.com/compnerd/windows-swift/_build/results?buildId=10356&view=logs&j=b9e62f99-1a98-5ed7-01d2-f4794231ed79&t=3083c4c7-eb7b-5b23-2f1f-ad33b3556855&l=1029