Skip to main content

IAR Embedded Workbench for RX 5.20

Function directives

In this section:
Syntax

CALL_GRAPH_ROOT function [,category]

Parameters

function

The function, a symbol.

category

An optional call graph root category, a string.

Description

Use this directive to specify that, for stack usage analysis purposes, the function function is a call graph root. You can also specify an optional category, a quoted string.

The compiler will generate this directive in assembler list files, when needed.

Example
CALL_GRAPH_ROOT my_interrupt, "interrupt"
See also

Call frame information directives for stack usage analysis, for information about CFI directives required for stack usage analysis.

Stack usage analysis for information about how to enable and use stack usage analysis.