main.cc
changeset 178 1622dc05c6ca
parent 177 697562a5da7c
child 179 a4eb4fd6b0d6
equal deleted inserted replaced
177:697562a5da7c 178:1622dc05c6ca
    76 
    76 
    77 
    77 
    78 
    78 
    79 
    79 
    80 #include "stage1_2/stage1_2.hh"
    80 #include "stage1_2/stage1_2.hh"
       
    81 #include "search_utils/search_utils.hh"
    81 
    82 
    82 //int stage3(symbol_c *tree_root);
    83 //int stage3(symbol_c *tree_root);
    83 int stage4(symbol_c *tree_root, const char *builddir);
    84 int stage4(symbol_c *tree_root, const char *builddir);
    84 
    85 
    85 
    86 
   155   /* 1st Pass */
   156   /* 1st Pass */
   156   if (stage1_2(argv[optind], &tree_root, stage1_2_options) < 0)
   157   if (stage1_2(argv[optind], &tree_root, stage1_2_options) < 0)
   157     return EXIT_FAILURE;
   158     return EXIT_FAILURE;
   158 
   159 
   159   /* 2nd Pass */
   160   /* 2nd Pass */
       
   161 printf("loading symbol tables...\n");
       
   162   search_utils_init(tree_root);
       
   163 printf("loading symbol tables... DONE!\n");
   160   /* not yet implemented... */
   164   /* not yet implemented... */
   161   /*
   165   /*
   162   if (stage3(tree_root) < 0)
   166   if (stage3(tree_root) < 0)
   163     return EXIT_FAILURE;
   167     return EXIT_FAILURE;
   164   */
   168   */