Skip to content

HWASAN: No DW_OP_LLVM_tag_offset with opt above -O0 #76545

@vitalybuka

Description

@vitalybuka

DW_OP_LLVM_tag_offset is present in -O0, but not -O1 https://godbolt.org/z/3dj6bzz4z

Reasons is AssignmentTrackingPass and -instcombine-lower-dbg-declare replace @llvm.dbg.declare with @llvm.dbg.assign but we don't attach DW_OP_LLVM_tag_offset to @llvm.dbg.assign.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions