Commit Graph
218 Commits
Author SHA1 Message Date
Nikita Smith 8a1203ed35 add mutex around fprintf to linearize log 2026-04-06 12:04:31 -07:00
Nikita Smith 3d805af7df WIP test PCH type merging 2026-04-06 12:04:31 -07:00
Nikita Smith c0418b736d WIP: internal and external type servers are functioning except for the
PCH indirection
2026-04-06 12:04:31 -07:00
Nikita Smith 7cf8c00947 improve test for import_export and fix compile errors in merge_duplicates
due to API changes in debug info
2026-04-06 12:04:30 -07:00
Nikita Smith 70677b85d8 align group names 2026-03-17 14:44:07 -07:00
Ryan Fleury 4312ee14fd first pass at (rdi -> loose rdim) path, used in (rdi * ... * rdi) -> rdi joining in radbin; plug in regular conversion path before voff -> line & breakpad paths in radbin, such that PDBs, DWARFs, RDIs, etc. can be used as input; fix up voff -> line path to plug into regular output systems; remove String8 union thing - three reasons: (a) it was only ever introduced for convenience in Linux layers, so let's just keep zero-terminated Linux nonsense in Linux land, (b) it was just alternate syntax for a cast, so let's just cast, (c) it was misleading - 'cstr' implies null-termination, which String8 of course doesn't guarantee. this led to some misuses, where .cstr was trusted to be zero-terminated, when that was not necessarily true (semaphore opening). 2026-03-03 16:24:54 -08: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 13f189ddcd WIP subprogram conversion tests 2026-02-26 14:34:59 -08:00
Nikita Smith 3e7b791e01 WIP subprogram conversion test 2026-02-25 11:22:13 -08:00
Nikita Smith 3500b9cab8 test checksums 2026-02-24 20:02:29 -08:00
Nikita Smith 2fc4a3472b finalize DWARF line table conversion test 2026-02-24 19:05:22 -08:00
Nikita Smith c7f7e15434 WIP DWARF line table conversion tester 2026-02-24 18:05:39 -08:00
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 8b7215695b test DWARF32 and DWARF64 unit encodings 2026-02-22 22:34:28 -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 4b88258a30 emit simple DWARF line table 2026-02-20 18:08:45 -08:00
Nikita Smith 3637fe359a do not create async workers for torture 2026-02-20 18:06:31 -08:00
Nikita Smith cfe3cde396 checkpoint: basic line emission 2026-02-20 11:17: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 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 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 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 efc5855419 bake a predictable producer string 2026-02-11 13:45:25 -08:00
Nikita Smith aaa5b0cb59 pass over DWARF dumper 2026-02-11 00:00:43 -08:00
Nikita Smith 69434278bd WIP DWARF writer 2026-02-10 23:57:43 -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 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 4f95819eb0 by default linker creates a bind table 2026-01-20 15:33:00 -08:00
Nikita Smith 85df75c30b defer import link test 2026-01-20 15:27:40 -08:00
Nikita Smith ce4d09d431 WIP DW_OP_piece 2025-12-17 17:32:03 -08:00
Nikita Smith 43cb8b7b1a handle DW_Op_FBReg, DW_ExprOp_Deref, DW_ExprOp_BReg*, and DW_ExprOp_BRegX 2025-12-16 17:32:12 -08:00
Nikita Smith 0aea6c4e8f finish value in register test 2025-12-16 13:49:23 -08:00
Nikita Smith da57259379 move DWARF expressions test to the torture 2025-12-16 11:14:17 -08:00
Nikita Smith 782f87e512 WIP DWARF expression encoder 2025-12-12 17:39:56 -08:00
Ryan Fleury 46527c8465 checkpoint in new debug info layer: 16-byte key (set up to use GUIDs or otherwise unique keys at the base), better control over oversubscribing cores for conversion, better prioritization of conversions 2025-09-29 14:12:33 -07:00
Nikita Smith fc0a7d51d3 warning fixes 2025-09-08 16:07:31 -07:00
Nikita Smith 58e3af5b3c test for linking using first and second lib headers 2025-09-08 16:07:31 -07:00
Nikita Smith 6a3d7e65f3 remove year from the copyright 2025-09-05 15:19:31 -07:00
Nikita Smith b56ce72b7f test cases for weak vs weak 2025-08-18 19:09:32 -07:00