[PATCH 3/3] binutils/testsuite: test compress-debug-info round trip

Project / Subsystem

binutils / binutils/testsuite

Date

2026-09-28

Proposer

Tobias Deiminger <tobias.deiminger@linutronix.de>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Achieving broad test coverage requires generating object files for numerous target formats, which can increase test execution time.
  • • The test design relies on `objdump --dwarf=info` to validate debug information, assuming this tool accurately reflects the compressed/decompressed state.

All attributes

project
binutils
subsystem
binutils/testsuite
patch_id
—
discussion_id
20260928090146.4016188-4-tobias.deiminger@linutronix.de
source_type
public_inbox
title
[PATCH 3/3] binutils/testsuite: test compress-debug-info round trip
headline
binutils/testsuite: test compress-debug-info round trip
tldr
Adds a test case to verify debug info compression and decompression in Binutils.
proposer
Tobias Deiminger <tobias.deiminger@linutronix.de>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Achieving broad test coverage requires generating object files for numerous target formats, which can increase test execution time.
  • • The test design relies on `objdump --dwarf=info` to validate debug information, assuming this tool accurately reflects the compressed/decompressed state.
series_id
binutils:binutils/testsuite: test compress-debug-info round trip
series_role
reply
series_parts
[]
tags
  • • binutils
  • • testsuite
  • • debug
  • • compression
  • • dwarf
bugzilla_url
—
date
2026-09-28T00:00:00.000Z

[PATCH 3/3] binutils/testsuite: test compress-debug-info round trip

Tobias Deiminger introduces a new test case for the binutils test suite designed to verify the round-trip process of compressing and decompressing debug information. The test generates object files for various BFD target formats, compresses their debug sections, and then verifies the debug info using objdump --dwarf=info both before and after decompression, aiming for broad coverage across different targets.