Commit Graph
69 Commits
Author SHA1 Message Date
Nikita SmithandRyan Fleury 61f7d0c43a minor fixes 2026-06-02 12:10:06 -07:00
Ryan Fleury 13fb24f253 fix incorrect function parameter type parsing (was causing quadratic parses of .debug_info, oops) 2026-05-01 08:42:48 -07:00
Ryan Fleury f5ec462438 d2r2: .debug_aranges parsing / unit conversion; .debug_ranges parsing 2026-04-28 08:57:59 -07:00
Ryan Fleury ccb1cd8f4d d2r2: built-in types, move rdi variadic type -> built-in 2026-04-23 18:54:01 -07:00
Ryan Fleury 2623141fd4 checkpoint on multi-lane / simplified dwarf parsing/conversion; fix incorrect assumption of relative in radbin 2026-04-23 14:25:50 -07:00
Ryan Fleury 6f624c10ad fix dwarf conversion to account for new rdi changes 2026-04-23 12:30:45 -07:00
Nikita SmithandRyan Fleury 43c3d5e348 test param flag 2026-04-20 13:55:23 -07:00
Ryan Fleury 881e19c842 get debugger onto new location info & symbol format 2026-04-20 09:57:33 -07:00
Ryan Fleury b1e6948576 rdi: extend per-unit info with symbol ranges; build into baker 2026-04-20 09:57:31 -07:00
Ryan Fleury a1978d9fe9 sketch out more locals baking stuff, + notes for unit-arrangement pass 2026-04-20 09:57:31 -07:00
Ryan Fleury cff7a786b3 fold voffs/toffs/constants into location case list, plug into converters 2026-04-20 09:57:30 -07:00
Ryan Fleury 4ea7f86d92 checkpoint on new simplified location info baking. plug in constant data baking, bytecode baking 2026-04-20 09:57:30 -07:00
Ryan Fleury eff693244b sketch out first part of new unified symbol table baking pass, sketch out new simplified sections 2026-04-20 09:57:29 -07:00
Nikita Smith 8007c158fa add API to DWARF writer that defines forward references and fix method
conversion in the converter
2026-02-27 11:07:19 -08:00
Nikita Smith b67d2fad40 convert procedure when it was declared inline but was not inlined 2026-02-25 22:28:09 -08:00
Nikita Smith f07ea37df7 missed format spot 2026-02-23 10:45:05 -08:00
Nikita Smith 2a8a1a5741 test all LNCT encoding in the file table,
test line instruction encoder,
test special opcode encoding
2026-02-22 20:17:00 -08:00
Nikita Smith fda380c66b flush on end sequence opcode and correctly debase addresses 2026-02-20 18:07:06 -08:00
Nikita Smith e7cf2513b7 todo 2026-02-19 18:11:11 -08:00
Nikita Smith 338d2177ff added _Decimal* and __bf16 types to RDI and DWARF converter 2026-02-18 21:25:35 -08:00
Nikita Smith d26c890246 test basic types 2026-02-18 19:16:51 -08:00
Nikita Smith 09f02f7d08 use xlist macros for float, signed, and unsigned conversion 2026-02-18 16:19:18 -08:00
Nikita Smith edd982852e pass over DWARF converter
- prepare to thread line table conversion
- error handling
- organizational improvements
2026-02-05 17:43:20 -08:00
Nikita Smith 4b893d50ec implement swap and drop opcodes; stub out GNU_UnInit 2026-02-05 17:43:20 -08:00
Nikita Smith 82169462a4 detect variable length array in upper bound and lower bound 2026-02-05 17:43:19 -08:00
Nikita Smith 2b4e0f8b77 WIP DWARF expression eval
- fixup jump offsets after expression is serialized
- use generalized machine ops for register reads
- add option to limit number of executed opcodes
2025-12-16 11:12:43 -08:00
Nikita Smith 8005c31276 remove x86 register code 2025-12-05 16:39:02 -08:00
Nikita Smith 81f08a01bc inline anonymous members 2025-12-02 14:39:36 -08:00
Nikita Smith 2a6d0d737c add CFA op to the bytecode 2025-11-26 15:13:24 -08:00
Nikita Smith 7347d2f1bc pipe DW_ExprOp_FormTlsAddress through DW_ExprOp_GNU_PushTlsAddress 2025-11-21 16:11:16 -08:00
Nikita Smith 6fa71607e2 do not emit global vars for decls 2025-11-21 16:10:28 -08:00
Nikita Smith 7cafde3376 revert DWARF changes to commit bda3a71379 2025-11-13 10:53:29 -08:00
Ryan Fleury b8a8ec31c7 checkpoint on simplified / stripped down dwarf -> rdi, and dwarf parsing helpers 2025-11-11 15:10:16 -08:00
Ryan Fleury 17ec73d752 dwarf cleanup checkpoint 2025-11-10 17:41:01 -08:00
Ryan Fleury 08642d2745 next checkpoint on dwarf cleanup 2025-11-10 16:37:23 -08:00
Ryan Fleury f396b2eaa3 start dwarf -> rdi cleanup; eliminate some assertions-as-validation, remove incorrect assumption that line info addresses are vaddrs (they seem to be voffs) 2025-11-10 15:06:52 -08:00
Nikita SmithandRyan Fleury 32bdd14d8e image base for a dynamic ELF is always zero 2025-11-07 15:47:15 -08:00
Nikita SmithandRyan Fleury b091233a33 infer path style from exe type 2025-11-07 14:39:45 -08:00
Ryan Fleury d9d321c074 mask off name map builds 2025-10-15 15:34:08 -07:00
Ryan Fleury d20cce536a rdim bake parameter joining, source rdi bake parameters from *all* inputs, and not mutually-exclusive dwarf vs. pdb cases 2025-10-07 10:20:19 -07:00
Ryan Fleury 811f316ca2 fix clang warnings in dwarf -> rdi 2025-10-06 11:20:12 -07:00
Nikita Smith f8229a390d merge conf fix 2025-10-02 18:19:42 -07:00
Nikita Smith 555f8ec6ff grab ranges in compile unit tag for the unit vmap 2025-10-02 18:19:42 -07:00
Nikita Smith 4ba1ee6e06 follow C type conversion rules in the expression transpiler 2025-10-02 18:19:42 -07:00
Ryan Fleury 45a2137d08 linux: fix incorrect gethostname usage, fix build, fix clang warnings 2025-09-30 10:02:40 -07:00
Nikita Smith 8bf0a3de5b split conversion pass into three (types, udts, and symbols) and use
new locations chunk list
2025-09-29 00:11:27 -07:00
Nikita Smith 5709fb54dd simplify debug info conversion loop 2025-09-26 16:28:46 -07:00
Nikita Smith 7084320a83 helper for finding parent type 2025-09-26 16:28:46 -07:00
Nikita Smith d3d91c64cc get DWARF converter up and running 2025-09-25 12:38:21 -07:00
Ryan Fleury 51ef166e60 eliminate all old conversion/baking code 2025-09-05 17:02:56 -07:00