Unfortunately then color output is impossible.  Where else would the output be expected to go?<br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018 at 2:23 AM Pavel Labath via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">labath added inline comments.<br>
<br>
<br>
================<br>
Comment at: lldb/source/Commands/CommandObjectTarget.cpp:2275<br>
+        SymbolFile *sf = m->GetSymbolVendor()->GetSymbolFile();<br>
+        sf->DumpClangAST();<br>
+      }<br>
----------------<br>
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).<br>
<br>
<br>
<a href="https://reviews.llvm.org/D54072" rel="noreferrer" target="_blank">https://reviews.llvm.org/D54072</a><br>
<br>
<br>
<br>
</blockquote></div>