Project Stage 3: Tidy & Wrap
Introduction In this stage, I aimed to address the feedback provided by the professor and resolve the errors encountered in the previous stages of the GCC pass project. However, despite my efforts, I have faced significant challenges that have hindered my progress. Process and Steps Taken Building and Testing the Demo Pass - I started by building and testing the provided demo pass to understand its functionality. - However, I encountered several issues during this process, which are detailed below. Modifying the Pass 1. Adding Diagnostic Dumps : - I attempted to modify the pass to include diagnostic dumps to demonstrate its execution. - Example code snippet: ```cpp if (dump_file) { fprintf (dump_file, "===== Dummy Pass Diagnostic Dump =====\n"); } ``` 2. Iterating Through Code Being Compiled : - I updat...