DW_OP_GNU_uninit emitted with -gstrict-dwarf

Project / Subsystem

gcc / gcc

Date

2026-08-11

Proposer

Stephen Illingworth <stephen.illingworth@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

All attributes

project
gcc
subsystem
gcc
patch_id
—
discussion_id
CAEyVarHYT=o+xyA4snHmSgS3A+YBz=DO2ZtOAe7uat3sY2WfHw@mail.gmail.com
source_type
public_inbox
title
DW_OP_GNU_uninit emitted with -gstrict-dwarf
headline
DW_OP_GNU_uninit emitted with -gstrict-dwarf
tldr
Investigating if DW_OP_GNU_uninit is correctly emitted with -gstrict-dwarf for arm-none-eabi toolchain.
proposer
Stephen Illingworth <stephen.illingworth@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • dwarf
  • • debugging
  • • gcc
  • • arm
  • • embedded
bugzilla_url
—
date
2026-08-11T00:00:00.000Z

DW_OP_GNU_uninit emitted with -gstrict-dwarf

Stephen Illingworth questions the emission of DW_OP_GNU_uninit when compiling with -gstrict-dwarf for the arm-none-eabi toolchain. He observed this operator in the debug information of an object file and seeks confirmation on whether this behavior is correct or if he is misusing the flag.