Landing: e3bcb08678b2
Project / Subsystem
gcc / codeview
Date
2026-09-22
Author
Oleg Tolmatcev
Commit
e3bcb08678b2fea0dc346f7dad57188737be959e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- codeview
- patch_id
- —
- commit_hash
- e3bcb08678b2fea0dc346f7dad57188737be959e
- source_type
- github
- headline
- Codeview checksums now open source files in binary mode.
- tldr
- Fixes incorrect CodeView checksums on Windows by opening source files in binary mode.
- author
- Oleg Tolmatcev
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • debugging
- • windows
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-22T00:00:00.000Z
The CodeView debugging information generator now opens source files in binary mode. On Windows, text mode file opening translates CRLF line endings, leading to incorrect checksums. Opening in binary mode ensures the checksum accurately reflects the file’s content.