This is an archive of the discontinued LLVM Phabricator instance.

Reenable FindLibXml2 on Windows and confirm its at least 2.8 or newer
ClosedPublic

Authored by lanza on Dec 11 2018, 2:39 PM.

Details

Summary

GnuWin32 installs libxml2 2.4. This isn't recent enough for lldb's
usage and thus the build fails. Searching for libxml2 was disabled
due to this build failure.

However, the gdb-remote plugin requires libxml2 to parse various
gdb-remote protocol packets. Thus check and confirm that the libxml2
version is at least 2.8 and disable it if not.

Diff Detail

Repository
rL LLVM

Event Timeline

lanza created this revision.Dec 11 2018, 2:39 PM
lanza added a comment.Dec 11 2018, 3:01 PM

@zturner With this the m_process->LoadModules() in DynamicLoaderWindowsDYLD.cpp:96 now queries the gdb-remote for the DLLs and thus can step into DLLs just fine.

compnerd accepted this revision.Dec 11 2018, 3:05 PM
This revision is now accepted and ready to land.Dec 11 2018, 3:05 PM
This revision was automatically updated to reflect the committed changes.