[all-commits] [llvm/llvm-project] 2399c7: [Clang][DebugInfo] Clang generates an extra spurio...
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Wed Oct 25 02:35:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2399c77c8593b0ed3bd3988a5b72f8bf6b30b0de
https://github.com/llvm/llvm-project/commit/2399c77c8593b0ed3bd3988a5b72f8bf6b30b0de
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2023-10-25 (Wed, 25 Oct 2023)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/CodeGenCXX/debug-info-structured-binding.cpp
Log Message:
-----------
[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: !...)
More information about the All-commits
mailing list