Skip to content
Unverified Commit 2399c77c authored by Carlos Alberto Enciso's avatar Carlos Alberto Enciso Committed by GitHub
Browse files

[Clang][DebugInfo] Clang generates an extra spurious unnamed 'dbg.declare' (#69681)

Do not emit call to llvm.dbg.declare when the variable declaration
is a DecompositionDecl as its instance class is always unnamed.

The emitted debug declare looks like:

call void @llvm.dbg.declare(metadata ..., metadata !xx, metadata ...)
!xx = !DILocalVariable(scope: !..., file: !..., line: ..., type: !...)
parent c912f88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment