Ryan Fleury
834f38f73b
pass over rdi dumping code; relocate to rdi_format_local; eliminate redundant helpers; plug into radbin
2025-06-10 14:14:39 -07:00
Ryan Fleury
79bf3d8639
eliminate standalone programs for pdb -> rdi; dwarf -> rdi; pdb -> breakpad; sketch out 'radbin', unified cli frontend for dumping/converting/etc., plug in pdb -> rdi, pdb -> breakpad, & stub out dumper/dwarf
2025-06-09 15:40:48 -07:00
Ryan Fleury
3e1bc21f95
p2r: hoist comp unit contributions bucketing out from per-unit path
2025-06-04 13:23:56 -07:00
Ryan Fleury
0512b61d95
p2r: wide/async per-unit src file gather/dedup; wide/async line (& inline) table conversion
2025-06-03 17:10:36 -07:00
Ryan Fleury
94b969f203
copyright year
2025-06-02 14:13:57 -07:00
Ryan Fleury
770fbe9459
constant evaluation
2025-05-29 17:04:01 -07:00
Ryan Fleury
89cc73eca6
constant name map
2025-05-29 16:57:08 -07:00
Ryan Fleury
3513d6cfb9
first pass at rdi format constant value support
2025-05-29 16:37:36 -07:00
Ryan Fleury
a4367e02f2
pdb -> rdi: more gracefully handle ..s in file paths when building source line maps, normalized file paths, and path tree
2025-05-07 14:58:23 -07:00
Nikita Smith
d3f8c1864d
simplify aliases table and build basic types for unknown records
2025-05-05 15:03:53 -07:00
Nikita Smith
cbe2783e0d
always create RDI builtins
2025-05-05 15:03:53 -07:00
Nikita Smith
e1ca449ccb
revert type indices change
2025-05-05 10:19:13 -07:00
Nikita Smith
e2266322d0
Revert "pass over PDB converter"
...
This reverts commit f1e88b5667 .
2025-05-05 10:19:13 -07:00
Nikita Smith
49ba163077
export CodeView types as aliases to its builtin counter-parts,
2025-03-27 13:47:47 -07:00
Nikita Smith
14966d932e
don't bake discarded type
2025-03-26 14:52:35 -07:00
Nikita Smith
64b8f762cb
fix bytecode list concat
2025-03-26 12:19:16 -07:00
Nikita Smith
f1e88b5667
pass over PDB converter
...
- moved incomplete type resolution from the converter to RDI make helper
layer so we don't need to duplicate code in DWARF converter
- changed code for building basic types to handle various data models
2025-03-13 23:04:40 -07:00
Nikita Smith
44249f35fc
pass over the make RDI library
...
- Handle type layout in the library so converts simply
define type graph and let the library handle DAG layout.
- Changed location baking. For now the library waits for scope, procs,
global vars, and thread vars steps to serially finish because
of common dependency on location sections, we need to parallel for each step.
- Changed encoded offset size for RDI_EvalOp_FrameOff to 8 bytes
(1 byte is not enough to cover all cases)
- Added frame base location to RDI_Procedure (WASM encodes frame base
as an index into a global array and so we have to resolve the base
at runtime).
2025-03-10 16:49:54 -07:00
Nikita Smith
8b4f97223e
moved async bakers from PDB converter to a stand-alone file to reuse
...
them in DWARF converter
2025-03-03 17:09:01 -08:00
Nikita Smith
b1c5b308c0
collect inline site name string
2025-01-14 10:42:22 -08:00
Ryan Fleury
5ec0a0e406
fix incorrect inline site baking
2024-10-16 14:29:08 -07:00
Ryan Fleury
2edb65b5bd
fix remaining non-determinism in pdb -> rdi generation!
2024-10-16 12:07:02 -07:00
Ryan Fleury
e65bc121ed
more work on pdb -> rdi determinism; almost done hitting all of the issues...
2024-10-16 08:52:27 -07:00
Ryan Fleury
4671458e8e
further debugging / logging / work on tester, trynig to get to the bottom of nondeterministic rdi generation
2024-10-15 17:41:18 -07:00
Ryan Fleury
65b5176468
allocate extra slot for nil in global vmap baking; was causing overwrites of keys/markers before!
2024-10-15 12:42:43 -07:00
Ryan Fleury
84f685803d
fix set-space ir extension instruction; expand ctrlbits to u16, so that it can encode modern register sized decodes
2024-09-16 11:59:06 -07:00
Ryan Fleury
a541ca50d9
rdi_from_pdb: robustify to malformed/unexpected pdb characteristics; df: display errors with inline code better; eval: fix incorrect assumption of addr mode being required for member access operators
2024-08-09 09:27:18 -07:00
Ryan Fleury
c13833f74f
fix line info voff baking; default selected inline frame depth to being shallowest; rework rich unwind to not lose concrete/inline frame structured info
2024-07-26 11:09:55 -07:00
Ryan Fleury
1b74fb0760
simplification pass over os core layer; simplification pass over base arena; set up build.sh; stub out new spot for linux os core
2024-07-15 17:23:01 -07:00
Ryan Fleury
3c2c98b08a
rdi_make: fix incorrect line table count calculation
2024-06-17 10:08:11 -07:00
Ryan Fleury
5349838633
rdi: producer name in top-level-info
2024-06-13 16:55:47 -07:00
Ryan Fleury
bf2d5640fa
go back to per-inline-site line tables; eliminate call location for inline tables; these can be encoded via parent line tables; wire up parsed line tables to inline site production from symbol conversion phase
2024-06-13 15:18:29 -07:00
Ryan Fleury
1dbc37fe1f
eliminate per-inline-site line tables; merge inline site line info with unit's line table
2024-06-13 15:18:29 -07:00
Ryan Fleury
3b6d8cb761
rdi_from_pdb: sketch out unified inlinee parsing/gathering path in units conversion task
2024-06-13 15:18:29 -07:00
Ryan Fleury
c80555c49d
rdi_make, rdi_from_pdb, rdi_dump: sketch out the building (no parsing/filling yet), dumping, and baking/serializing of inline sites
2024-06-13 15:18:29 -07:00
Ryan Fleury
64d7bae845
rdi_make: eliminate old baking/serializing code
2024-06-13 15:18:29 -07:00
Ryan Fleury
93d5bab41c
eliminate base node idx from per-node info; nodes can be stored all relative to their name map's base indices, and this is naturally applied on lookup, no need to bake it in
2024-06-13 15:18:29 -07:00
Ryan Fleury
2ff0abb91e
rdi_make, rdi_from_pdb: complete next pass over new serialization/compression interface, including for new top-level-only name map data sections; eliminate determinism issues from string map build (task dispatch was busted)
2024-06-13 15:18:28 -07:00
Ryan Fleury
b05cfa4b24
checkpoint on new baking implementation
2024-06-13 15:18:28 -07:00
Ryan Fleury
379885421e
rdi make: xfer over per-name-map building path
2024-06-13 15:18:28 -07:00
Ryan Fleury
809a888ce7
rdi make: first pass at new baking paths
2024-06-13 15:18:28 -07:00
Ryan Fleury
9dadd3ed3c
sketch out new rdi make baking codepaths
2024-06-13 15:18:28 -07:00
Ryan Fleury
d0d1e7d7e6
sketch out artifact types for new rdi baking pass
2024-06-13 15:18:28 -07:00
Ryan Fleury
10ead2f999
rdi: first pass of eliminating remainder of non-top-level sections; simplification/cleanup of rdi parsing layer
2024-06-13 15:18:28 -07:00
Ryan Fleury
550e8a0451
set up inline site info building scaffolding
2024-06-13 15:18:28 -07:00
Ryan Fleury
7495096e05
fix baking of joined line tables
2024-06-13 15:18:28 -07:00
Ryan Fleury
7e85335f3b
move per-source-file line maps to top-level sections, and move source line -> voff maps to separate top-level info table
2024-06-13 15:18:28 -07:00
Ryan Fleury
3ad6197b88
eliminate old per-unit line info code
2024-06-13 15:18:28 -07:00
Ryan Fleury
44868c0e85
rdi, rdi_make, rdi_from_pdb, rdi_dump, df, dasm, etc: extract line tables from per-unit data sections, have top-level line info tables with units referring to line tables, and line tables just referring to sub-ranges of top-level sections; fix off-by-one string index in rdi generation
2024-06-13 15:18:28 -07:00
Ryan Fleury
f50b54cff7
complete metacodification of rdi format info into tables
2024-06-01 19:24:46 -07:00