Commit Graph
4539 Commits
Author SHA1 Message Date
Nikita Smith a11e2bf57b manifest generation fix 2026-08-25 00:10:30 -07:00
Nikita Smith d1171dcabb fix PE initialized data size 2026-08-25 00:10:30 -07:00
Nikita Smith e283952994 match LINK import encoding and load config 2026-08-25 00:10:30 -07:00
Nikita Smith c9acc3f1ad match LINK import group placement 2026-08-25 00:10:29 -07:00
Nikita Smith 0a328898d0 sort contributions after section merges 2026-08-24 22:27:27 -07:00
Nikita Smith ad8fe1c61e implement LINK-compatible map output 2026-08-24 22:27:26 -07:00
Nikita Smith da00fa9627 use iterators to access COFF sections and symbols 2026-08-24 22:27:25 -07:00
Nikita Smith e3d49069bf remove helper for patching symbols and update values directly 2026-08-24 22:27:23 -07:00
Nikita Smith a7e1b21e4e use base bit array for primary symbols 2026-08-24 22:27:22 -07:00
Nikita Smith 736a6c63a5 remove per-section linker side arrays 2026-08-24 22:27:21 -07:00
Nikita Smith 646ff97b3c centralize canonical COFF object data 2026-08-24 22:27:20 -07:00
Nikita Smith cf67aca7da keep COFF input metadata immutable 2026-08-24 22:27:19 -07:00
Nikita Smith 993df2d9d8 pack CodeView leaf refs and share radix sort
centralize leaf ref index casts
2026-08-24 22:27:17 -07:00
Nikita Smith 7633bd90ab use packed linker symbol and section contribution arrays 2026-08-24 22:27:16 -07:00
Ryan Fleury e6e1f7a426 okay bump back to 29 2026-08-21 15:31:25 -07:00
Ryan Fleury bf7e2f7655 oops - revert to 28, disable deletes in code view ctrls 2026-08-21 14:53:30 -07:00
Ryan Fleury a5f0f760ba bump to 29 2026-08-21 13:17:46 -07:00
Ryan Fleury 5946bb87e6 debugger changelog 2026-08-21 12:35:47 -07:00
Ryan Fleury 74624df829 p2r: correctly fall back to bytecode when regoff locations have offs of outside of [min_S16, max_S16] - in these cases, the offset is too big to fit inside of a packed 64-bit location encoding, so we need to fall back. before, we were only falling back incorrectly when the offset was outside of [0, max_U16], but this is not right. also, win32_wm: don't interpret '\n' (ctrl+J) 2026-08-21 12:08:23 -07:00
Ryan Fleury d75ea2d55e fix incorrect module lookup on asan events; fix bad string size assumption with const string eval 2026-08-21 11:35:41 -07:00
Ryan Fleury 03463abebc fix incorrect bad-project-file checkin 2026-08-21 11:05:53 -07:00
Nikita Smith 3c719de3f5 use callee info to disambiguate overlapping sibling inline sites 2026-08-21 10:56:19 -07:00
Nikita Smith 8b52934c66 set lower bound on CodeOffset 2026-08-21 10:56:18 -07:00
Nikita Smith 8fa5ba5b60 shift type index base for PCH objs 2026-08-21 10:56:17 -07:00
Nikita Smith 24e321925a update the change log 2026-08-21 10:56:16 -07:00
Nikita Smith 109180131a bugfix forwarder export detection 2026-08-21 10:56:16 -07:00
Nikita Smith 2767895b88 turn off diagnostic for unresolved symbols in debug sections on /DEBUG:NONE 2026-08-21 10:56:15 -07:00
Nikita Smith 2abbae4d90 improve unresolved symbols diagnostic
* show referenced by function
* show inline site that references unresolved symbol instead of the top function
2026-08-21 10:56:14 -07:00
Nikita Smith 4eae2a2ecc clang fixes 2026-08-21 10:56:14 -07:00
Ryan Fleury 5e6fb63535 better stop snapping behavior - prefer unwinding to the first source location in a call stack, if the user is in source mode & has no disasm tabs 2026-08-21 10:55:46 -07:00
Ryan Fleury e8fb972519 fix bat 2026-08-19 15:20:44 -07:00
Ryan Fleury c360008950 same for bash 2026-08-19 12:35:34 -06:00
Ryan Fleury 6619df49a7 on implicit debug builds -> inform user of 'release' argument 2026-08-19 12:30:10 -06:00
Ryan Fleury 8a5979a1a6 dbg_engine: instead of sending down relativized breakpoint paths, relativize when resolving breakpoints on ctrl thread per-module - this avoids preference for the selected module, which broke relative file breakpoints without a selected thread in the right module. 2026-08-19 11:42:50 -06:00
Ryan Fleury 73ba34f354 adjust path absolutification - never assume selected module, since this changes all the time! instead, provide dbgi path (and maybe eventually we want module path too), so that any paths found in debug info can be treated as relative from the debug info path. 2026-08-19 10:21:50 -06:00
Nikita Smith 33f5a27fdd work around for the function overrides 2026-08-18 10:49:40 -07:00
Nikita Smith efe2a78019 type command-line option values
* pass argv inputs directly to the config command line
* define each option's value type in the switch table so comma splitting
  is applied only to list typed switches
2026-08-17 22:55:58 -07:00
Nikita Smith 76e267482f improve handling of the response files
* reject cyclic response files
* prepend and append command line defined in LINK and _LINK_
* reduce config wrappers
2026-08-17 18:21:05 -07:00
Nikita Smith b8574e3a0b left a todo in the linker IO code 2026-08-17 14:35:27 -07:00
Nikita Smith 84d88b3946 discard environment variable RAD_TYPE_SERVER
Linker already provides /RAD_TYPE_SERVER that switches linker into
the type server mode, having a environment variable is redundant
2026-08-17 13:11:24 -07:00
Nikita Smith e636345384 update memfun.h 2026-08-14 13:26:58 -07:00
Nikita Smith 3057d0b7da minor fix 2026-08-13 15:02:21 -07:00
Nikita Smith 1086d1d350 reduce arena footprint by using initial reserve and commit size parameters
`current` points to the most recently allocated arena. If that arena was
allocated by a large push, lets say 2 GiB, while the arena's initial
reserve size was 1 GiB, the next block would be allocated with a 2 GiB
reserve.
2026-08-13 15:02:20 -07:00
Nikita Smith 72c3dfd30c improve diagnostics for the missing entry point 2026-08-13 15:02:19 -07:00
Nikita Smith 6a34ee168f update /OPT:ICF
* pass over fold stats diagnostic
* implement /RAD_ICF_HASH_KIND
* rename color space -> scope
2026-08-13 15:02:18 -07:00
Nikita Smith 0c2f79d2f9 update natvis 2026-08-13 15:02:17 -07:00
Ryan Fleury 08d25fa39d linux_demon: fix incorrect arena buckets for probe parsing, fix zero process being incorrectly used (snap process to thread process, if wait_id does not refer to any process itself; text: fix treating R"'s as starting a herestring, if ending a non-herestring 2026-08-13 12:28:06 -07:00
Ryan Fleury 604a244473 rdi_from_dwarf: turn off aggressive type hash caching for now - need to solve cyclical graph hashing problem later when it is more pressing... also fix local-UDTs not being gathered/converted 2026-08-13 11:05:36 -07:00
Ryan Fleury 8372582608 rdi_from_dwarf: first pass at entry-point-independent deterministic type graph hashing 2026-08-12 15:48:49 -07:00
Ryan Fleury a47be13d70 linux_demon: do not assume nonzero threads 2026-08-12 10:01:40 -07:00