Skip to content

Commit

Permalink
Move entryIDs into separate data files (#1585)
Browse files Browse the repository at this point in the history
* Move entryIDs into separate data files

This will make it much easier to update them as we migrate to Capstone.

This is a very poor solution, but is the only means of splitting the
architectures apart while maintaining the existing entryID enum usage.

* Add newline in x86 file

* Add suffix '_entryIDs.h' to data files

This gives the reader a better idea of what they are and lets tools like
cloc know that they correspond to a language.
  • Loading branch information
hainest committed Oct 17, 2023
1 parent 9e29748 commit 077d65c
Show file tree
Hide file tree
Showing 10 changed files with 2,930 additions and 2,979 deletions.
11 changes: 8 additions & 3 deletions common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ configure_file(${PROJECT_SOURCE_DIR}/cmake/dyninstversion.h.in

set(_public_headers
h/aarch64_sys_regs.h
h/AMDGPU/gfx940/amdgpu_gfx940_op_table.h
h/AMDGPU/gfx940/amdgpu_gfx940_sys_regs.h
h/AMDGPU/gfx90a/amdgpu_gfx90a_op_table.h
h/AMDGPU/gfx90a/amdgpu_gfx90a_sys_regs.h
h/AMDGPU/gfx908/amdgpu_gfx908_op_table.h
h/AMDGPU/gfx908/amdgpu_gfx908_sys_regs.h
h/Annotatable.h
h/Buffer.h
Expand All @@ -28,6 +25,14 @@ set(_public_headers
h/IBSTree-fast.h
h/IBSTree.h
h/MachSyscall.h
h/mnemonics/aarch64_entryIDs.h
h/mnemonics/ppc_entryIDs.h
h/mnemonics/x86_entryIDs.h
h/mnemonics/AMDGPU/gfx908_entryIDs.h
h/mnemonics/AMDGPU/gfx90a_entryIDs.h
h/mnemonics/AMDGPU/gfx940_entryIDs.h
h/mnemonics/IntelGPU/generic_entryIDs.h
h/mnemonics/NVIDIA/generic_entryIDs.h
h/Node.h
h/ProcReader.h
h/SymReader.h
Expand Down

0 comments on commit 077d65c

Please sign in to comment.