@@ -542,6 +542,56 @@ std::string dump_symbol_table_symbols_in_html(
542
542
ostr << " </td>\n " ;
543
543
ostr << " </tr>\n " ;
544
544
ostr << " </table>\n " ;
545
+
546
+ const auto yesno_str=
547
+ [](const bool value) { return value ? " yes" : " no" ; };
548
+
549
+ ostr << " <table>\n " ;
550
+ ostr << " <tr>\n " ;
551
+ ostr << " <th>type</th>\n " ;
552
+ ostr << " <th>macro</th>\n " ;
553
+ ostr << " <th>exported</th>\n " ;
554
+ ostr << " <th>input</th>\n " ;
555
+ ostr << " <th>output</th>\n " ;
556
+ ostr << " <th>state_var</th>\n " ;
557
+ ostr << " <th>property</th>\n " ;
558
+ ostr << " </tr>\n " ;
559
+ ostr << " <tr>\n " ;
560
+ ostr << " <td>" << yesno_str (symbol.is_type ) << " </td>\n " ;
561
+ ostr << " <td>" << yesno_str (symbol.is_macro ) << " </td>\n " ;
562
+ ostr << " <td>" << yesno_str (symbol.is_exported ) << " </td>\n " ;
563
+ ostr << " <td>" << yesno_str (symbol.is_input ) << " </td>\n " ;
564
+ ostr << " <td>" << yesno_str (symbol.is_output ) << " </td>\n " ;
565
+ ostr << " <td>" << yesno_str (symbol.is_state_var ) << " </td>\n " ;
566
+ ostr << " <td>" << yesno_str (symbol.is_property ) << " </td>\n " ;
567
+ ostr << " </tr>\n " ;
568
+ ostr << " </table>\n " ;
569
+
570
+ ostr << " <table>\n " ;
571
+ ostr << " <tr>\n " ;
572
+ ostr << " <th>static</th>\n " ;
573
+ ostr << " <th>thread_local</th>\n " ;
574
+ ostr << " <th>lvalue</th>\n " ;
575
+ ostr << " <th>file_local</th>\n " ;
576
+ ostr << " <th>extern</th>\n " ;
577
+ ostr << " <th>volatile</th>\n " ;
578
+ ostr << " <th>parameter</th>\n " ;
579
+ ostr << " <th>auxiliary</th>\n " ;
580
+ ostr << " <th>weak</th>\n " ;
581
+ ostr << " </tr>\n " ;
582
+ ostr << " <tr>\n " ;
583
+ ostr << " <td>" << yesno_str (symbol.is_state_var ) << " </td>\n " ;
584
+ ostr << " <td>" << yesno_str (symbol.is_thread_local ) <<" </td>\n " ;
585
+ ostr << " <td>" << yesno_str (symbol.is_lvalue ) << " </td>\n " ;
586
+ ostr << " <td>" << yesno_str (symbol.is_file_local ) << " </td>\n " ;
587
+ ostr << " <td>" << yesno_str (symbol.is_extern ) << " </td>\n " ;
588
+ ostr << " <td>" << yesno_str (symbol.is_volatile ) << " </td>\n " ;
589
+ ostr << " <td>" << yesno_str (symbol.is_parameter ) << " </td>\n " ;
590
+ ostr << " <td>" << yesno_str (symbol.is_auxiliary ) << " </td>\n " ;
591
+ ostr << " <td>" << yesno_str (symbol.is_weak ) << " </td>\n " ;
592
+ ostr << " </tr>\n " ;
593
+ ostr << " </table>\n " ;
594
+
545
595
ostr << " </td>\n " ;
546
596
ostr << " </tr>\n " ;
547
597
}
0 commit comments