[Lldb-commits] [PATCH] D78329: Allow lldb-test to combine -find with -dump-clang-ast
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 16 14:31:35 PDT 2020
aprantl created this revision.
aprantl added reviewers: shafik, teemperor, jingham, labath.
This patch threads an lldb::DescriptionLevel through the typesystem to allow dumping the full Clang AST (level=verbose) of any lldb::Type in addition to the human-readable source description (default level=full). This type dumping interface is currently not exposed through the SBAPI.
The application is to let lldb-test dump the clang AST of search results. I need this to test lazy type completion of clang types in subsequent patches.
https://reviews.llvm.org/D78329
Files:
lldb/include/lldb/Symbol/CompilerType.h
lldb/include/lldb/Symbol/Type.h
lldb/include/lldb/Symbol/TypeMap.h
lldb/include/lldb/Symbol/TypeSystem.h
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
lldb/source/Symbol/CompilerType.cpp
lldb/source/Symbol/Type.cpp
lldb/source/Symbol/TypeMap.cpp
lldb/test/Shell/SymbolFile/DWARF/Inputs/ModuleOwnership/A.h
lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
lldb/tools/lldb-test/lldb-test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78329.258166.patch
Type: text/x-patch
Size: 12926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200416/d466d0ca/attachment.bin>
More information about the lldb-commits
mailing list