HomePhabricator

Allow lldb-test to combine -find with -dump-clang-ast

Authored by aprantl on Apr 16 2020, 2:10 PM.

Description

Allow lldb-test to combine -find with -dump-clang-ast

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.

Differential Revision: https://reviews.llvm.org/D78329

Details

Committed
aprantlApr 17 2020, 11:01 AM
Differential Revision
D78329: Allow lldb-test to combine -find with -dump-clang-ast
Parents
rGdd24fb388ba8: Clean up usages of asserting vector getters in Type
Branches
Unknown
Tags
Unknown