Elektrine lite

← Feed

@questor@mastodon.gamedev.place

Post #2285584

2025-11-24 21:15 UTC

@rovarma@mastodon.gamedev.place is this eh-frame info also available when exceptions are disabled? and you have written that the info is ~3MB in your case, how big is the file in total, so how is the ratio between code and this info? but great article about low-level stuff, looking forward for the next one ;)

Replies (1)

  • @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).

    Open ##2285585