Skip to content

Commit

Permalink
Add support for printing DWARF type attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Nov 20, 2024
1 parent 813e9b7 commit 43b68f9
Show file tree
Hide file tree
Showing 7 changed files with 752 additions and 433 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ add_library(ccc STATIC
src/ccc/data_refinement.h
src/ccc/dependency.cpp
src/ccc/dependency.h
src/ccc/dwarf_attributes.cpp
src/ccc/dwarf_attributes.h
src/ccc/dwarf_importer.cpp
src/ccc/dwarf_importer.h
src/ccc/dwarf_section.cpp
Expand Down
5 changes: 3 additions & 2 deletions docs/ProjectStructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
- src/ccc/ast_json.cpp: Reads/writes the AST structure as JSON.
- src/ccc/data_refinement.cpp: Converts global variable data into structured initializer lists and literals.
- src/ccc/dependency.cpp: Tries to infer information about which types belong to which files.
- src/ccc/dwarf_importer.cpp: Imports .debug (DWARF) symbol tables into the symbol database.
- src/ccc/dwarf_section.cpp: Parses the .debug (DWARF) binary format.
- src/ccc/dwarf_attributes.cpp: Parses DWARF 1 attributes.
- src/ccc/dwarf_importer.cpp: Imports DWARF 1 symbol tables into the symbol database.
- src/ccc/dwarf_section.cpp: Parses the DWARF 1 binary format.
- src/ccc/elf.cpp: Parses ELF files.
- src/ccc/elf_symtab.cpp: Parses the ELF symbol table.
- src/ccc/importer_flags.cpp: An enum and help information printing for importer configuration flags.
Expand Down
1 change: 1 addition & 0 deletions src/ccc/ccc.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "ast_json.h"
#include "data_refinement.h"
#include "dependency.h"
#include "dwarf_attributes.h"
#include "dwarf_importer.h"
#include "dwarf_section.h"
#include "elf.h"
Expand Down
Loading

0 comments on commit 43b68f9

Please sign in to comment.