[PATCH] bfd/pdb: Increase the PDB block size to 4096
Project / Subsystem
binutils / bfd/pdb
Date
2026-09-30
Proposer
Oleg Tolmatcev <oleg.tolmatcev@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Increases memory usage for PDB structures due to larger block sizes, but enables support for much larger debug information files.
All attributes
- project
- binutils
- subsystem
- bfd/pdb
- patch_id
- —
- discussion_id
- 20260930193657.733-12-oleg.tolmatcev@gmail.com
- source_type
- public_inbox
- title
- [PATCH] bfd/pdb: Increase the PDB block size to 4096
- headline
- bfd/pdb: Increase PDB block size to 4096
- tldr
- Increases PDB block size to 4096 bytes to support larger files and align with MSVC.
- proposer
- Oleg Tolmatcev <oleg.tolmatcev@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Increases memory usage for PDB structures due to larger block sizes, but enables support for much larger debug information files.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • pdb
- • linker
- • debugging
- • performance
- • binutils
- bugzilla_url
- —
- date
- 2026-09-30T00:00:00.000Z
[PATCH] bfd/pdb: Increase the PDB block size to 4096
This patch increases the PDB block size in the BFD library from 1024 to 4096 bytes. The previous 1024-byte block size limited PDB files to approximately 64 MB due to the block map’s capacity. The new size, matching MSVC’s standard, increases the limit to about 4 GB and resolves issues with tools like llvm-pdbutil that rejected larger files.