博文

目前显示的是 十一月, 2024的博文

Project-stage 2

 This is the stage 2 for the project. Continue on stage 1, which download the codebase and build it in my own computer. (Before professor change the requirement, I have finished the stage 1 so that I choose to build gcc in my own laptop). By the recommendation steps to finish the stage 2. First I will create a dummy pass with diagnostic dump.  By finishing the first step, I have create a file call tree-mypass.cc file which is a pass file. The code in the pass file is that #include "config.h" #include "system.h" #include "coretypes.h" #include "tree.h" #include "tree-pass.h" #include "context.h" #include "function.h" #include "dumpfile.h" namespace {     const pass_data my_pass_data = {         GIMPLE_PASS,                  "my_pass",                 OPTGROUP_NONE,                TV_NONE,        ...