[lldb/Host] Use Host/Config.h for LibXML2 instead of a global define
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 11 Dec 2019 22:10:38 +0000 (14:10 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 11 Dec 2019 22:13:41 +0000 (14:13 -0800)
commitbf68bcb920ffdac5da8b82cd06535cec5dc5a56b
tree40040386a83321057c59bb3c20d0b3bf2ce7f432
parent786b6db8e6fd87fb82f2ad3e94e20c5c9cf9c4e4
[lldb/Host] Use Host/Config.h for LibXML2 instead of a global define

Rename LIBXML2_DEFINED to LLDB_ENABLE_LIBXML2 and pass it through
Config.h instead of a global define.
lldb/cmake/modules/LLDBConfig.cmake
lldb/include/lldb/Host/Config.h.cmake
lldb/include/lldb/Host/XML.h
lldb/source/Host/common/XML.cpp