Commit Graph

23 Commits

Author SHA1 Message Date
baldurk 39eb8da8f2 Move disassembly to separate file 2020-06-18 17:22:39 +01:00
baldurk 3dfb9a069d Parse and disassemble function blocks 2020-06-18 17:22:39 +01:00
baldurk 297ba38e94 Remove unused GetDisassemblyLine function 2020-06-18 17:22:39 +01:00
baldurk c29fce8366 Count line numbers for disassembly 2020-06-18 17:22:39 +01:00
baldurk 25321e741f Decode metadata for global debug information 2020-06-18 17:22:39 +01:00
baldurk d28bab8c79 Handle (but skip) STAT DXIL chunk 2020-06-18 17:22:39 +01:00
baldurk 8727b2aa88 Implement constant block parsing 2020-06-18 17:22:39 +01:00
baldurk 395e8325c2 Implement handling for function types and declarations 2020-06-18 17:22:39 +01:00
baldurk 143181d829 Process types record 2020-06-18 17:22:39 +01:00
baldurk 144e8057c1 Improve LLVM record dumping a bit 2020-06-18 17:22:39 +01:00
baldurk 0c54db28aa Stub types and constants blocks 2020-06-18 17:22:39 +01:00
baldurk 99aa195e40 Handle attributes 2020-06-18 17:22:38 +01:00
baldurk 327d82e8ad Stub parsing of global symbol types 2020-06-18 17:22:38 +01:00
baldurk 01461db738 Store mapping from instruction to disassembly line in shader debug trace
* This avoids having the UI need to do a scan and expecting to find
  "instruction:" on the start of a line.
* We also move the callstack to be stored per-step, and not in the line info
  mapping.
2020-02-06 17:58:41 +00:00
Daniel Craig b3d15996b2 Add headers required to build windows files without precompiled header 2020-01-13 13:02:46 +00:00
baldurk 2916c0f9f7 Update copyright years to 2020 2020-01-06 16:20:45 +00:00
baldurk 2c80a7206b Enable 'enum value not handled' warning on MSVC, fix issues
* Mostly we add an explicit default: break but in some cases we add explicit
  cases and/or error messages.
2019-12-17 18:02:10 +00:00
baldurk 1772222d66 Remove std::string/std::vector from shader projects 2019-12-16 18:10:31 +00:00
baldurk f68645bddc Reduce dependencies pulled in by common.h 2019-12-16 17:06:16 +00:00
baldurk ff08748238 Ensure all files have trailing new-lines and enforce with clang warning 2019-12-02 20:28:05 +00:00
baldurk 70780b0750 32-bit compile fixes 2019-10-21 16:06:02 +01:00
baldurk bdf2f046d9 Add stubbed out DXIL bytecode decoder 2019-10-18 23:02:26 +01:00
baldurk 6140701358 Add stub DXIL project 2019-10-18 20:57:35 +01:00