I saw there is a -cref flag in the CC-RL compiler options which outputs static analysis files.
What tool can I use to view these files? Is it something build into E2 Studio like "Stack Analysis" or "Memory Usage", or is it something else entirely?
Were you able to find the answer to this?
JBRenesasRulz Forum Moderator
In reply to JB:
In reply to thumbcore:
The cref files are for CS+, used as stated here:http://tool-support.renesas.com/autoupdate/support/onlinehelp/csp/V6.01.00/CS+.chm/AnalysisTool.chm/Output/an_P_CallGraph.htmlNote: You need to enable static analysis toolbar to launch the views in CS+.
As for e2 studio, no need cref files, not even need to build project to see call graphs and symbol outline views.
As you may already have seen in Project Explorer (click '>' mark at source file) and Outline view, functions and variables are listed at opening or activate tab of source file in e2 studio editor."CDT indexer" automatically index symbols (i.e. function, variable, typedef, #define ...) and show them in those views.
You can use two more views named "Call Hierarchy" and "Type Hierarchy".Try visiting "Window" -> "Show View" menu and you find them in C/C++ category. (disabled as default)Open some source file and point at any function in editor, then launch context menu of "Open Call Hierarchy".Then you will see caller - callee relationship diagram.Likewise, via editor context menu "Open Type Hierarchy" works to see data type definition structure.
Hope this works for you.
In reply to Okra: