Discussion:
[ros-bugs] [jira] (CORE-14620) Remove __verbose_terminate_handler bloat
Mark Jansen (JIRA)
2018-05-12 21:48:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Jansen updated CORE-14620:
-------------------------------
Priority: Minor (was: Major)
Remove __verbose_terminate_handler bloat
----------------------------------------
Key: CORE-14620
URL: https://jira.reactos.org/browse/CORE-14620
Project: Core ReactOS
Issue Type: Improvement
Reporter: Mark Jansen
Assignee: Bug Zilla
Priority: Minor
Gcc inserts a default terminate_handler when compiling with exceptions that includes a full c++ name demangler (in every binary!).
Adding this code in a .cpp file included in said binary will drop the filesize with ~30 - 40 kb
(In the case of drwtsn32, from 249 to 211kb)
{code}
namespace __gnu_cxx
{
void __verbose_terminate_handler()
{
abort();
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Mark Jansen (JIRA)
2018-05-12 21:48:00 UTC
Permalink
Mark Jansen created CORE-14620:
----------------------------------

Summary: Remove __verbose_terminate_handler bloat
Key: CORE-14620
URL: https://jira.reactos.org/browse/CORE-14620
Project: Core ReactOS
Issue Type: Improvement
Reporter: Mark Jansen
Assignee: Bug Zilla


Gcc inserts a default terminate_handler when compiling with exceptions that includes a full c++ name demangler (in every binary!).
Adding this code in a .cpp file included in said binary will drop the filesize with ~30 - 40 kb
(In the case of drwtsn32, from 249 to 211kb)
{code}
namespace __gnu_cxx
{
void __verbose_terminate_handler()
{
abort();
}
}
{code}



--
This message was sent by Atlassian JIRA
(v7.3.2#73013)

Loading...