[all-commits] [llvm/llvm-project] 41f96f: [llvm][DebugInfo] Emit DW_AT_const_value for float...
Michael Buch via All-commits
all-commits at lists.llvm.org
Thu Feb 13 15:09:06 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41f96f91cdd8640166fc843421d861e5be351bd2
https://github.com/llvm/llvm-project/commit/41f96f91cdd8640166fc843421d861e5be351bd2
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-02-13 (Thu, 13 Feb 2025)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/test/DebugInfo/X86/debug-info-template-parameter.ll
Log Message:
-----------
[llvm][DebugInfo] Emit DW_AT_const_value for float non-type template parameters (#127045)
In C++20, non-type template parameters can be float/double. Clang didn't
emit those constants in DWARF. This patch emits floating point constants
the same way we do other integral template value parameters.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list