WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
37.45k stars 1.64k forks source link

build: Reduce debug info produced #1720

Closed iTrooz closed 1 month ago

iTrooz commented 1 month ago

Use -g1 to reduce debug info produced, to only embed info useful for stacktraces

I had to upgrade to gcc 13 to avoid an ICE with the new flags

iTrooz commented 1 month ago

Draft because for now this is reducing stacktrace quality

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 1.51%. Comparing base (974c4ba) to head (8261747). Report is 1 commits behind head on master.

:exclamation: Current head 8261747 differs from pull request most recent head 2243012

Please upload reports for the commit 2243012 to get more accurate results.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1720 +/- ## ====================================== Coverage 1.51% 1.51% ====================================== Files 275 275 Lines 27008 27008 Branches 14474 14474 ====================================== Hits 409 409 Misses 26341 26341 Partials 258 258 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

iTrooz commented 1 month ago

More info: https://docs.linaroforge.com/22.1.3/html/101136_arm-forge-user-guide/map/get_started_map/prepare_a_program_for_profiling.html

iTrooz commented 1 month ago

With this PR, Windows, Ubuntu and AppImage artifact sizes are really decreased