3.4.13 Callgraph Option
The -mcallgraph=type
option controls what sort of call graph
is printed in the map file. The available types are shown in the table.
Type | Produces |
---|---|
none |
No call graph |
crit |
Only critical paths in the callgraph |
std |
Standard, short-form call graph (default) |
full |
Full call graph |
The callgraph is generated by the linker, primarily for the purposes of allocating memory to objects in the compiled stack. Those routines defining stack objects that are not overlaid with other stack objects and that are hence contributing to the program's data memory usage are considered as being on a critical path.