diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2023-03-07 13:18:07 +0000 |
|---|---|---|
| committer | Michael Buch <michaelbuch12@gmail.com> | 2023-03-19 11:03:54 +0000 |
| commit | 4601bcdb7ed3168053aa6d70abedb17c3fffa0d2 (patch) | |
| tree | 94fef7286b5d203ac5cab90db15e1df5a564d869 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 50b58e89a122fdc20616ad6d6dd3a802206454d2 (diff) | |
[libcxxabi][Demangle] Don't drop ctor/dtor name for abi-tagged structures
Before this patch we would demangle abi-tagged structures as follows:
```
$ c++filt -n _ZN1SB5OuterC2Ev
S[abi:Outer]:()
$ c++filt -n _ZN1SB5OuterD2Ev
S[abi:Outer]::~()
```
This is because `Node::getBaseName` was unimplemented for the
`AbiTagAttr` node, which meant that when we tried printing `CtorDtorName`
where its `Basename` `Node` was an `AbiTagAttr`, we'd drop the
name.
Addresses https://github.com/llvm/llvm-project/issues/61213
Differential Revision: https://reviews.llvm.org/D145492
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
