google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.66k stars 337 forks source link

FeatureRequest: map __cxx_global_var_init.NNN back to the variable that it's initializing #340

Open jonesmz opened 1 year ago

jonesmz commented 1 year ago

I'm trying to debloat a library that has well over a thousand global variable initialization functions like __cxx_global_var_init.311

It would be super helpful if bloaty would implicitly tell me which variable this is actually initializing.