spo600:creating_a_gcc_pass
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| spo600:creating_a_gcc_pass [2025/02/18 12:32] – created chris | spo600:creating_a_gcc_pass [2025/02/18 15:01] (current) – [Creating a GCC Pass] chris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Creating a GCC Pass ====== | ====== Creating a GCC Pass ====== | ||
| + | |||
| + | **These are rough notes only!** Unfortunately, | ||
| ===== Structure of a Pass ===== | ===== Structure of a Pass ===== | ||
| Line 62: | Line 64: | ||
| + | ===== Dump Files ===== | ||
| + | |||
| + | * Dump files are created for all passes where the name in the '' | ||
| + | * The dump file will, by default, contain a dump of the IR at the end of your pass. | ||
| + | * You may add additional text into the file by accessing the '' | ||
| + | |||
| + | < | ||
| + | if (dump_file) | ||
| + | { | ||
| + | fprintf (dump_file, ... ); | ||
| + | }</ | ||
| + | |||
| + | ===== Resources ===== | ||
| + | |||
| + | This section will be extended -- watch for changes. | ||
| + | |||
| + | ==== On this Wiki ==== | ||
| + | * [[Building GCC]] | ||
| + | |||
| + | ==== On the Web ==== | ||
| + | * [[https:// | ||
spo600/creating_a_gcc_pass.1739881920.txt.gz · Last modified: 2025/02/18 12:32 by chris
