Commit Graph
100 Commits
Author SHA1 Message Date
Nikita Smith 2df9a155c6 build radbin for torture 2026-02-23 11:54:37 -08:00
Nikita Smith 6e1816a01c disable crash handler to diagnose crash in github workflows 2026-02-23 11:42:30 -08:00
Nikita Smith b022492c7b use-after-poison fixes 2026-02-23 11:37:36 -08:00
Nikita Smith f07ea37df7 missed format spot 2026-02-23 10:45:05 -08:00
Nikita Smith 8b7215695b test DWARF32 and DWARF64 unit encodings 2026-02-22 22:34:28 -08:00
Nikita Smith cc00fe7825 minor fixes and improvements for DWARF dumper 2026-02-22 20:18:57 -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 a7e64c3928 more reasonable string pad count 2026-02-20 22:24:39 -08:00
Nikita Smith 20d3fa4ddb normalize paths with inconsistent slashes 2026-02-20 22:08:26 -08:00
Nikita Smith 4b88258a30 emit simple DWARF line table 2026-02-20 18:08:45 -08:00
Nikita Smith 121c211d81 minor changes in DWARF dumper 2026-02-20 18:07:47 -08:00
Nikita Smith fda380c66b flush on end sequence opcode and correctly debase addresses 2026-02-20 18:07:06 -08:00
Nikita Smith 3637fe359a do not create async workers for torture 2026-02-20 18:06:31 -08:00
Nikita Smith 6ece754edd max ops and max size for x64 inst 2026-02-20 18:06:00 -08:00
Nikita Smith cfe3cde396 checkpoint: basic line emission 2026-02-20 11:17:12 -08:00
Nikita Smith a6dd529dd5 explicitly handle null terminator in abbrev parse 2026-02-19 18:11:12 -08:00
Nikita Smith a9d3757dbc fix wonky line table indent 2026-02-19 18:11:12 -08:00
Nikita Smith e7cf2513b7 todo 2026-02-19 18:11:11 -08:00
Nikita Smith a02fa0f4cb tests for int128 and uint128 2026-02-18 23:11:25 -08:00
Nikita Smith e300a8579e bump up RDI version 2026-02-18 21:28:40 -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 f0c3ea7678 treat implicit values as consts 2026-02-18 20:55:41 -08:00
Nikita Smith 28299bf778 move /Zc:preprocessor to common 2026-02-18 19:18:11 -08:00
Nikita Smith 9cc25d11fb update rdi_parse.h 2026-02-18 19:17:40 -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 a8833dac02 add 96-bit float type to RDI 2026-02-18 16:17:21 -08:00
Nikita Smith 64d0f9b68b copy new memory functions that are used in stb_sprintf to metagen base 2026-02-18 16:16:48 -08:00
Nikita Smith 0e4c864b22 checkpoint: asan crashes radbin in rdi_section_raw_data_from_kind 2026-02-18 01:21:03 -08:00
Nikita Smith 11d90a34a3 stop tests on first fail or crash 2026-02-18 01:20:42 -08:00
Nikita Smith 59e8389ed9 cleanup invoke 2026-02-18 00:56:30 -08:00
Nikita Smith 86de8fb94c string attrib DWARF writer helper 2026-02-18 00:54:55 -08:00
Nikita Smith f9e36b5517 validate attrib-form encoding 2026-02-18 00:54:18 -08:00
Nikita Smith 516365e97b rename CodeView leaf/symbol/debug_s helpers for consistent naming 2026-02-17 03:04:14 -08:00
Nikita Smith 2083c1ed87 serialize symbols directly into MSF streams 2026-02-16 20:32:44 -08:00
Nikita Smith 442f41b51a inline byte hashing around type indices 2026-02-16 13:39:49 -08:00
Nikita Smith 3e5c8ab9f6 minor test fixes 2026-02-16 13:20:13 -08:00
Nikita Smith c1e670a01c type merging test 2026-02-16 12:18:01 -08:00
Nikita Smith 4e4a806b33 pass over the aligner 2026-02-15 23:17:59 -08:00
Nikita Smith 76213ec5cd switch to using 32-bit offsets for leaf records over the pointers 2026-02-15 23:11:51 -08:00
Nikita Smith 09e37a6a2e report unknown ignore codes only in debug builds 2026-02-13 22:10:42 -08:00
Nikita Smith 6fb055bf6e rename asan -> san 2026-02-13 22:07:41 -08:00
Nikita Smith 1f51c6f25b ubsan cleanup 2026-02-13 20:59:26 -08:00
Nikita Smith fbc3cbd6eb polish help in radlink 2026-02-13 19:17:53 -08:00
Nikita Smith 519bc154ec disable async for radlink 2026-02-13 17:33:18 -08:00
Nikita Smith 0315cce2ea track os_commit and os_decommit 2026-02-13 17:31:27 -08:00
Nikita Smith e14d3b7cdb correctly compute size_to_zero for new blocks 2026-02-13 17:29:48 -08:00
Nikita Smith d7a87b7765 share arena between type deduper and MSF 2026-02-13 16:06:54 -08:00
Nikita Smith f5fc3c66b7 reduce leaf hash table bucket size to 8 bytes 2026-02-13 15:03:51 -08:00
Nikita Smith c4b26184fc type warning fix 2026-02-12 13:12:05 -08:00
Nikita Smith 7720ba096e switch to 64-bit type hashes; 128-bits is unnecessary, CodeView can't
have more than 2^32 types
2026-02-12 13:11:36 -08:00
Nikita Smith 1e6df05d9f sort resource pointers 2026-02-11 17:20:38 -08:00
Nikita Smith aa25570904 improve memory usage when reporting unresolved symbols 2026-02-11 15:28:13 -08:00
Nikita Smith e8ca3e0d5c name tag arenas for the memory plots 2026-02-11 15:27:05 -08:00
Nikita Smith 56b89cc8cb plot arena memory usage 2026-02-11 15:26:22 -08:00
Nikita Smith 2a76188570 allocate a minimum cap hash table for the lib member infos 2026-02-11 13:53:37 -08:00
Nikita Smith 5aea3527c1 use-after-poison fix 2026-02-11 13:52:33 -08:00
Nikita Smith efc5855419 bake a predictable producer string 2026-02-11 13:45:25 -08:00
Nikita Smith 21adae63bf enable spec-conformant preprocessor in MSVC 2026-02-11 00:04:43 -08:00
Nikita Smith ddfeba8ae1 natvis for DWARF writer 2026-02-11 00:01:21 -08:00
Nikita Smith da6fd986f0 do not exit on failed call 2026-02-11 00:00:56 -08:00
Nikita Smith aaa5b0cb59 pass over DWARF dumper 2026-02-11 00:00:43 -08:00
Nikita Smith 031e24e1aa handle zero operand count 2026-02-10 23:59:09 -08:00
Nikita Smith ee8562ed97 fix type for the implicit const 2026-02-10 23:58:45 -08:00
Nikita Smith 69434278bd WIP DWARF writer 2026-02-10 23:57:43 -08:00
Nikita Smith ff82d9843c matcher for DW_Form 2026-02-10 15:27:57 -08:00
Nikita Smith 6e100ad52f make form_kind part of DW_Form 2026-02-10 15:27:27 -08:00
Nikita Smith 12f8f4e078 move DW_Form to the DWARF format header 2026-02-10 15:26:56 -08:00
Nikita Smith 988b0f5541 header guard typo 2026-02-09 23:42:09 -08:00
Nikita Smith 9b1a5ae8f8 minor fix 2026-02-09 23:41:33 -08:00
Nikita Smith 482a61aaf7 obj -> COFF serializer 2026-02-09 23:41:19 -08:00
Nikita Smith 33b1e25295 arch -> COFF machine 2026-02-09 23:40:31 -08:00
Nikita Smith 1579e6eae6 simplify serial pushes for u32 and u64 2026-02-09 23:40:10 -08:00
Nikita Smith d7ffea785f compact print abbrev data 2026-02-06 18:49:52 -08:00
Nikita Smith 71a46985b6 use string table extension for long section names 2026-02-05 19:45:35 -08:00
Nikita Smith 010f54674f test for LEB128 reader and writer 2026-02-05 19:45:35 -08:00
Nikita Smith b0d0b6a2b2 factor out LEB128 writer 2026-02-05 19:45:34 -08:00
Nikita Smith b44f79fe44 test section folding with different alignment 2026-02-05 19:45:34 -08:00
Nikita Smith 0c02e21284 WIP tests for ICF 2026-02-05 19:45:34 -08:00
Nikita Smith b6c74ae9bc update values in import_export test 2026-02-05 19:45:34 -08:00
Nikita Smith 0015e52d3c add /FAILIFMISMATCH 2026-02-05 19:45:34 -08:00
Nikita Smith 8b729d4588 refactored testing utility
- factored out common parts in tests into T_BeginTest and T_EndTest
- separated radlink and DWARF tests
2026-02-05 19:45:34 -08:00
Nikita Smith d363c30e95 copy out generic 2026-02-05 19:43:47 -08:00
Nikita Smith ae236f5ccf assert element size does not overflow the simple buffer in radsort 2026-02-05 19:43:47 -08:00
Nikita Smith 09472fafbd typo in the ordinal export sorter 2026-02-05 19:43:47 -08:00
Nikita Smith 15831c704f lock free hash trie 2026-02-05 17:46:10 -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 5986e595ce eval type group for F80 and F128 2026-02-05 17:43:20 -08:00
Nikita Smith 7d4a64aae6 change size of immediate on Cond opcode to match Skip immediate size 2026-02-05 17:43:20 -08:00
Nikita Smith 2ccb6f6409 natvis 2026-02-05 17:43:19 -08:00
Nikita Smith 3bc9bacf6f update line table dumper; pipe down verbose switch to the DWARF dumper 2026-02-05 17:43:19 -08:00
Nikita Smith 469fbece3d fix check extension in attrib formatter 2026-02-05 17:43:19 -08:00
Nikita Smith 4f30f64914 switched to TryRead helper macro for parsing abbrev table and compile units 2026-02-05 17:43:19 -08:00
Nikita Smith cd70b7e1ec define default debug macros for third party code 2026-02-05 17:43:19 -08:00
Nikita Smith 3d6ca7d610 indent macros 2026-02-05 17:43:19 -08:00
Nikita Smith 6d8cbe8e60 fix stack reference 2026-02-05 17:43:19 -08:00
Nikita Smith 2ca68c1039 flush output buffer before formatting 2026-02-05 17:43:19 -08:00
Nikita Smith c81eafb656 fix memory poisoning for arenas allocated from an optional buffer 2026-02-05 17:43:19 -08:00
Nikita Smith dec5258c32 piece opcodes do not pop the stack 2026-02-05 17:43:19 -08:00