[Lldb-commits] [PATCH] D143398: [WIP][lldb][DWARFASTParserClang] Correctly resolve imported namespaces during expression evaluation
Michael Buch via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 6 07:10:52 PST 2023
Michael137 created this revision.
Michael137 added reviewers: aprantl, labath.
Herald added a reviewer: shafik.
Herald added a project: All.
Michael137 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
**Summary**
This patch makes the expression evaluator understand
namespace aliases.
This will become important once `std::ranges` become
more widespread since `std::views` is defined as:
namespace std {
namespace ranges::views {}
namespace views = ranges::views;
}
**Testing**
- Added API test
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143398
Files:
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
lldb/test/API/commands/expression/namespace-alias/Makefile
lldb/test/API/commands/expression/namespace-alias/TestInlineNamespaceAlias.py
lldb/test/API/commands/expression/namespace-alias/main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143398.495117.patch
Type: text/x-patch
Size: 5087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230206/a8c0d46e/attachment.bin>
More information about the lldb-commits
mailing list