diff options
| author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-02-16 20:40:27 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 20:40:27 +0400 |
| commit | 7b7d411de9f731d2bcf6b093f6cee2cf57a5196e (patch) | |
| tree | a07aa206f2ea80a443885e6fbfc1007a9368b82e /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | dfae16277329011aa5f1e41ecd06b9db75a0c374 (diff) | |
| download | llvm-7b7d411de9f731d2bcf6b093f6cee2cf57a5196e.zip llvm-7b7d411de9f731d2bcf6b093f6cee2cf57a5196e.tar.gz llvm-7b7d411de9f731d2bcf6b093f6cee2cf57a5196e.tar.bz2 | |
[lldb] Fix `FindDirectNestedType` not working with class templates (#81666)
This patch attempts to fix lookup in class template specialization.
The first fixed problem is that during type lookup `DeclContextGetName`
have been dropping template arguments. So when such a name was compared
against a name in `DW_AT_name`, which contains template arguments, false
mismatches have been occurring.
The second fixed problem is that LLDB's printing policy hasn't been
matching Clang's printing policy when it comes to integral non-type
template arguments. This again caused some false mismatches during type
lookup, because Clang puts e.g. `3U` in debug info for class
specializations, but LLDB has been expecting just `3`. This patch brings
printing policy in line with what Clang does.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
