-
Notifications
You must be signed in to change notification settings - Fork 1
GettingDumps
PavelKryukov edited this page Sep 30, 2015
·
1 revision
To dump IR in ICC use the following command line:
icc <your src-file> -mP2OPT_il0_print=<num>
where num is a phase number.
Stderr is used as the output stream.
If num = -1 then the dump will be printed after each phase.
Phase numbering isn't successive, the numbers of phases seem to be chosen at random.
Numbers of the most useful phases:
- 6 - after building CFG
- 2510 - after some optimizations.
To dump IR in GCC use the following command line:
The output will be in src-file.cfggcc <your src-file> -df