gh-91048: Prevent optimizing away the asyncio debug offsets structure on Windows (#132963)
To avoid having the debug sections being optimised away by the compiler we use __attribute__((used)) on gcc and clang but in Windows this is not supported by the Microsoft compiler and there is no equivalent flag. Unfortunately Windows offers almost no alternative other than exporting the symbol in the dynamic table or using it somehow.
P
Pablo Galindo Salgado committed
a5e628beb8592d938209a09e84d072bb5f57d042
Parent: a1f4a6b
Committed by GitHub <noreply@github.com>
on 4/25/2025, 5:43:32 PM