Karl Zylinski
e6707738bf
radlink: For non-debug sections, propagate /RAD_REMOVE_SECTION to the section flags. This fixes issues where .gfids sections contain relocation data. In that case radlink dropped the section, but still applied them at for example .text + 0.
2026-10-15 17:17:43 -07:00
Nikita Smith
4add147a09
radlink: refactor MSF writer to allow allocation of contiguous stream backing
...
* remove MSF reader API
* remove PDB reader API
2026-09-21 14:00:07 -07:00
Nikita Smith
98c1191506
radlink: use bit arrays for marking discarded CV types
2026-09-21 14:00:06 -07:00
Nikita Smith
48ba845a91
radlink: strip LF_PRECOMP earlier before parsing .debug$T to exclude it from leaf arrays
2026-09-21 09:08:08 -07:00
Nikita Smith
0ac6b35a98
base: add memory placeholders and generic page fault handler
...
* Add windows and Linux demand-mapping backends
* Add exclusive file creation, sizing, flushing and replacement APIs
2026-09-21 09:08:07 -07:00
Nikita Smith
e50cef2bff
minor fixes
2026-09-21 09:08:06 -07:00
Nikita Smith
2afb78e498
radlink: resolve alternate-name fallbacks through prevailing weak symbols
...
Follow prevailing weak definitions instead of synthetic anti-dependency
placeholders. Resolve all weak symbols before publishing results so
anti-dependency chaining rules are independent of worker order.
2026-09-21 09:08:06 -07:00
Nikita Smith
5b646344eb
radlink: implement /NOENTRY
2026-09-21 09:08:05 -07:00
Nikita Smith
4663d1a89a
radlink: handle thread pool release correctly
2026-09-21 09:08:04 -07:00
Nikita Smith
458e5029db
radlink: absolute symbols with identical value are legal
2026-09-21 09:08:04 -07:00
Nikita Smith
44a37e2a80
fixes for export test
2026-09-21 09:08:03 -07:00
Nikita Smith
986a6c526f
radlink: implement COFF_ImportBy_NoPrefix
2026-09-21 09:08:02 -07:00
Nikita Smith
000997d3af
radlink: implement COFF_ImportBy_Undecorate
2026-09-11 22:57:06 -07:00
Henrik Karlsson
3e7b11fd1b
radlink: prefer non-zero function prefixes for COMDAT Any
2026-09-11 19:50:57 -07:00
Nikita Smith
e162b800d9
radlink: make command-line /INFERASANLIBS:NO disable ASAN library inference without allowing directive to re-enable it
2026-09-10 15:56:27 -07:00
Nikita Smith
1673303d56
coff: parse long section names encoded with LLVM/GNU format
2026-09-10 14:28:35 -07:00
Nikita Smith
fd6e2bb6b2
radlink: relax rules for relocations pointing into removed associative sections
2026-09-10 14:28:34 -07:00
Nikita Smith
40c1ac39ba
radlink: set target section offset so COMDATs data offsets contribute to the color too
2026-09-10 14:28:33 -07:00
Nikita Smith
da23fa1607
msf: update msf_header_matches_saved_extent
...
* changed test to apply full page allocation pattern in a stream
* added new test cases for the page allocation pattern
* bugfix stream growth logic
2026-09-10 14:28:33 -07:00
Nikita Smith
1603bcf11e
tests: make determ_test artifacts reproducible
2026-09-10 14:28:32 -07:00
Henrik Karlsson
8649b28865
radlink: derive MSF header page count from serialized extent
2026-09-10 14:28:32 -07:00
Nikita Smith
6f824e4b09
minor cleanups
...
* updated the comments
* simplified the test
2026-09-10 14:28:31 -07:00
Henrik Karlsson
3093f23de8
radlink: satisfy default-library names with explicitly supplied paths
2026-09-10 14:28:31 -07:00
Nikita Smith
8d23d31097
internal on force inline function
2026-09-10 14:28:30 -07:00
Nikita Smith
55fbbb09d7
fixes for the GCC build
2026-09-10 14:28:29 -07:00
Nikita Smith
5fe1bac74e
test big obj generation
2026-09-10 14:28:28 -07:00
Nikita Smith
dcea1b49a1
radlink: update /BRepro and /RAD_LOG help lines
2026-09-10 14:28:27 -07:00
Nikita Smith
7e995e8194
radlink: guard against empty input load requests
2026-09-10 14:28:27 -07:00
Nikita Smith
86ec8137d4
radlink: track function override alternate name directives with a cursor to prevent unnecessary rescans
2026-09-10 14:28:26 -07:00
Nikita Smith
50a489e816
radlink: track anti-dependency symbols search position with a parallel cursor array
...
* this helps prevent case where an anti-dependency search resets
the cursors for the undefined symbol scan
2026-09-10 14:28:26 -07:00
Nikita Smith
8923472c23
radlink: fast path for single task runs
2026-09-10 14:28:25 -07:00
Mārtiņš Možeiko
8d869affca
blake3: update to 1.8.7 version and use asm implementations
...
Assembly code is >25% faster than intrinsic implementations on msvc.
2026-09-02 20:10:38 -07:00
Ryan Fleury
8a7be007c1
checkpoint on minidump support
2026-08-26 17:24:43 -07:00
Nikita Smith
39fa231e7c
ICF correctness fixes
...
* added safe-guards for the const data ICF
* exclude associated CFG metadata section guards
* color primary section hash with associated sections colors
* remove folded symbol associated chain
2026-08-25 00:10:51 -07:00
Nikita Smith
ff1877dfa2
push purged item to the free list
2026-08-25 00:10:51 -07:00
Nikita Smith
e8aaf00629
prune dead static imports with /OPT:REF
2026-08-25 00:10:50 -07:00
Nikita Smith
5894d3eaa2
count merged BSS in initialized data size
2026-08-25 00:10:50 -07:00
Nikita Smith
f6116bbede
match LINK resource section layout
2026-08-25 00:10:49 -07:00
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