Twiggy
Twiggy is a code size profiler
...The tool offers multiple analysis modes that answer questions like why a function is present, how much space it consumes, and what dependencies pull it into the final binary. By surfacing insights about symbol sizes and call relationships, Twiggy enables developers to optimize builds, remove dead code, and improve load times.