6.5.3 Recursive Inlining Examples

The /inline_depth command qualifier sets the maximum level of function nesting, that is, calls to functions with calls to functions and so forth, that KAP will attempt to trace. Higher values cause KAP to recursively inline more deeply.

When run with /inline_depth=1 , meaning inline only one function deep, all the function references in the main program and functions are expanded, but function references in inlined functions are not.

If /inline_depth=-1 were specified, only functions s3 and s4 would be inlined. Repeated runs with /inline_depth=-1 could be performed to trace functions further along the calling tree.


Previous Page | Next Page | Contents | Index |
Command-Line Qualifiers

Copyright © Digital Equipment Corporation. 1999. All Rights Reserved.