[Lldb-commits] [PATCH] D40745: Add a clang-ast subcommand to lldb-test

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 5 09:37:44 PST 2017


clayborg added a comment.

One really nice way we can get a lot of testing of the DWARF to clang::ASTContext conversion is to:
1 - compile a source file with clang and dumps the AST for a specific type as the compiler knows it
2 - using the .o file with debug info from step 1, load it into LLDB and have the DWARF to clang::ASTContext conversion happen and dump the AST info for the type
3 - compare the two and look for differences


Repository:
  rL LLVM

https://reviews.llvm.org/D40745





More information about the lldb-commits mailing list