We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm using armclang compiler Product: Professional Component: ARM Compiler 6.16
There are unused functions which are linked in the final application. There functions are coming from a library which is linked to final application, but not called in application.
How to remove these unused functions from final image ?
It would not be possible for the linker to remove used code, as that would cause the link step to fail.
Used code is any code that has a call chain growing from a defined ENTRY point. Try reviewing a callgraph.https://developer.arm.com/documentation/102284/6-16-2LTS/armlink-Reference/armlink-Command-line-Options/--callgraph----no-callgraph