gh-91048: Prevent optimizing away the asyncio debug offsets structure on Windows by pablogsal · Pull Request #132963 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Conversation
…ucture on Windows 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters