aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPeter Rong <peterrong96@gmail.com>2026-02-09 20:59:53 -0800
committerGitHub <noreply@github.com>2026-02-10 04:59:53 +0000
commit9cd29a8ba17402c6e8e4b051cc96bdf47886581c (patch)
tree80c96e6a340e2a48490cc13fa0e2dfb50cf37d80 /lldb/test/Shell/ScriptInterpreter/Python
parentfdd9555fc015b0be790226c68391537d12581a82 (diff)
downloadllvm-9cd29a8ba17402c6e8e4b051cc96bdf47886581c.zip
llvm-9cd29a8ba17402c6e8e4b051cc96bdf47886581c.tar.gz
llvm-9cd29a8ba17402c6e8e4b051cc96bdf47886581c.tar.bz2
[DebugInfo] Fix an assertion in DWARFTypePrinter (#178986)
A `DW_TAG_ptr_to_member_type` has no `RawName` and would trigger an assertion. https://github.com/llvm/llvm-project/blob/7e48b14d1e9f83b5e4e51d3e44a0fc762f9d05eb/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h#L497-L502 The assertion is mostly benign since it will be compared with other strings and return false. https://github.com/llvm/llvm-project/blob/7e48b14d1e9f83b5e4e51d3e44a0fc762f9d05eb/llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h#L505-L510 But this is blocking our assertion builds. We should escape `DW_TAG_ptr_to_member_type` as well when looking for type names. Adding a test to demonstrate how the assertion could be triggered, and how we fixed it. Depends on https://github.com/llvm/llvm-project/pull/180655 [Assisted-by](https://t.ly/Dkjjk): [Claude Opus 4.5](https://www.anthropic.com/news/claude-opus-4-5)
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions