@rovarma@mastodon.gamedev.place
Post #2285585
2025-11-25 15:10 UTC
@questor@mastodon.gamedev.place It's not 3MB of info; there are 3,373,919 DWARF bytecode *instructions*. The actual size of the binary in this case is ~91MiB.
The .eh_frame info is emitted by default, yes, even if the language doesn't support exceptions/exceptions are disabled. This is because the exception unwinding machinery needs to support unwinding *through* code that doesn't support exceptions (consider, for example, C code calling into C++ code via a callback).
Replies (1)
-
@rovarma@mastodon.gamedev.place 2025-11-25 15:11
@questor@mastodon.gamedev.place There *are* flags to prevent the .eh_frame info from being emitted, but you have to go out of your way to do so. By default they'll be there in both debug & release builds.