llvm-project/lldb/source/Host
Zachary Turner 74e08ca05c Add support for reading line tables from PDB files.
PDB is Microsoft's debug information format, and although we
cannot yet generate it, we still must be able to consume it.
Reason for this is that debug information for system libraries
(e.g. kernel32, C Runtime Library, etc) only have debug info
in PDB format, so in order to be able to support debugging
of system code, we must support it.

Currently this code should compile on every platform, but on
non-Windows platforms the PDB plugin will return 0 capabilities,
meaning that for now PDB is only supported on Windows.  This
may change in the future, but the API is designed in such a way
that this will require few (if any) changes on the LLDB side.
In the future we can just flip a switch and everything will
work.

This patch only adds support for line tables.  It does not return
information about functions, types, global variables, or anything
else.  This functionality will be added in a followup patch.

Differential Revision: http://reviews.llvm.org/D17363
Reviewed by: Greg Clayton

llvm-svn: 262528
2016-03-02 22:05:52 +00:00
..
android [linux] Remove all traces of signalfd(2) 2016-02-23 12:26:08 +00:00
common Add support for reading line tables from PDB files. 2016-03-02 22:05:52 +00:00
freebsd Make lldb::endian::InlHostByteOrder() private. 2015-11-07 04:40:13 +00:00
linux Add support for abstract domain sockets. 2015-10-22 17:50:33 +00:00
macosx Make HostThread SetName work on OS X. GetName doesn't currently work, the code that was in 2016-02-04 19:42:32 +00:00
netbsd Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
posix Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break. 2016-02-26 01:20:20 +00:00
windows Add support for reading line tables from PDB files. 2016-03-02 22:05:52 +00:00
CMakeLists.txt Added real editline tests. 2015-10-30 02:54:52 +00:00