[Lldb-commits] [PATCH] D54072: Add a command to dump a module's clang ast.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 4 05:18:20 PST 2018


Unfortunately then color output is impossible. Where else would the output
be expected to go?
On Sun, Nov 4, 2018 at 2:23 AM Pavel Labath via Phabricator <
reviews at reviews.llvm.org> wrote:

> labath added inline comments.
>
>
> ================
> Comment at: lldb/source/Commands/CommandObjectTarget.cpp:2275
> +        SymbolFile *sf = m->GetSymbolVendor()->GetSymbolFile();
> +        sf->DumpClangAST();
> +      }
> ----------------
> The dump function should take the output stream from the `result` object,
> so the output ends up where it's expected to go. (`clang::DeclBase::dump`
> has an overload which takes a `raw_ostream`, and lldb streams have a
> `raw_ostream` accessor now).
>
>
> https://reviews.llvm.org/D54072
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181104/7869dff9/attachment.html>


More information about the lldb-commits mailing list