[llvm] [DWARF] Emit 0/1 for constant boolean values (PR #151225)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 8 10:14:26 PDT 2025
================
@@ -820,6 +833,22 @@ void DwarfCompileUnit::applyConcreteDbgVariableAttributes(
}
if (!DVal->isVariadic()) {
const DbgValueLocEntry *Entry = DVal->getLocEntries().begin();
+
+ // Helper function to handle boolean constant values with type safety
+ auto addConstantValueWithBooleanNormalization =
----------------
dwblaikie wrote:
Yeah, bit outside my wheelhouse too - hopefully @jmorse or other Sony folks who've been working on debug locations lately have some experience to add here.
https://github.com/llvm/llvm-project/pull/151225
More information about the llvm-commits
mailing list