[all-commits] [llvm/llvm-project] 10f3f0: [lldb] Improve summary string handling of dollar c...
Dave Lee via All-commits
all-commits at lists.llvm.org
Tue Jul 9 13:35:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10f3f06d865fe5ec434fbaf78009301e95b59ea5
https://github.com/llvm/llvm-project/commit/10f3f06d865fe5ec434fbaf78009301e95b59ea5
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M lldb/source/Core/FormatEntity.cpp
A lldb/test/API/functionalities/data-formatter/special-chars/Makefile
A lldb/test/API/functionalities/data-formatter/special-chars/TestSummaryStringSpecialChars.py
A lldb/test/API/functionalities/data-formatter/special-chars/main.c
Log Message:
-----------
[lldb] Improve summary string handling of dollar chars (#98190)
This improves the handling of `$` (dollar) characters in summary strings in the
following ways:
1. When a `$` is not followed by an open paren (`{`), it should be treated as a literal
character and preserved in the output. Previously, the dollar would be consumed by the
parser and not shown in the output.
2. When a `$` is the last character of a format string, this change eliminates the
infinite loop lldb would enter into.
rdar://131392446
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