From 42c5eb88456fd8bee46ec5748a8f83b1df82f0d1 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 10 Mar 2024 15:21:35 +0100 Subject: [PATCH] Add comment about `NonZero` printing as character literal. --- src/etc/lldb_providers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/etc/lldb_providers.py b/src/etc/lldb_providers.py index 319660f0ddc..5d2b6fd525c 100644 --- a/src/etc/lldb_providers.py +++ b/src/etc/lldb_providers.py @@ -746,6 +746,8 @@ def StdNonZeroNumberSummaryProvider(valobj, _dict): inner = valobj.GetChildAtIndex(0) inner_inner = inner.GetChildAtIndex(0) + # FIXME: Avoid printing as character literal, + # see https://github.com/llvm/llvm-project/issues/65076. if inner_inner.GetTypeName() in ['char', 'unsigned char']: return str(inner_inner.GetValueAsSigned()) else: