Hello all,

In <https://reviews.llvm.org/D42145> we have a feature that only works
when lldb was built with xml support. To  test this, we need the test
to know whether we were build with xml support.

The typical llvm solution would be to generate some dotest equivalent
of lit.site.cfg at build time, which we could then load from the test
and query for build settings.

However, it has occurred to me that the information about various
build properties (xml suport, libedit support, list of llvm targets we
support) is something that could be useful to other liblldb clients as
well. So, another way of exposing this would be to have a function
(maybe a static function on SBDebugger ?) that the test can call and
get the required information that way.

Do you have any thoughts on how this should be handled? Or maybe know
of an existing way that we could check this information already?

regards,
pavel
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to