[PATCH] ld/pdb: Read inlinee-lines signature at correct offset

Project / Subsystem

binutils / ld/pdb

Date

2026-09-30

Proposer

Oleg Tolmatcev <oleg.tolmatcev@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

All attributes

project
binutils
subsystem
ld/pdb
patch_id
—
discussion_id
20260930193657.733-2-oleg.tolmatcev@gmail.com
source_type
public_inbox
title
[PATCH] ld/pdb: Read inlinee-lines signature at correct offset
headline
ld/pdb: Read inlinee-lines signature at correct offset
tldr
Fixes ld/pdb.c to read the signature at the correct offset within the payload, improving PDB parsing.
proposer
Oleg Tolmatcev <oleg.tolmatcev@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • linker
  • • debugging
  • • pdb
bugzilla_url
—
date
2026-09-30T00:00:00.000Z

[PATCH] ld/pdb: Read inlinee-lines signature at correct offset

This patch corrects an issue in ld/pdb.c where the inlinee-lines signature was read from the wrong memory location. The fix ensures the signature is read from the start of the payload, not from the first entry’s file ID. Test cases have been updated to reflect this change and to flag linker failures as test failures, making the bug observable.