diff options
author | Zachary Turner <zturner@google.com> | 2016-03-02 22:05:52 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-03-02 22:05:52 +0000 |
commit | 42ed5d2c2c64e334dc8d9336064326779aa94e83 (patch) | |
tree | 218489451457c2403c44fe0084b559137a4c9f58 /source/Initialization/SystemInitializerCommon.cpp | |
parent | 09efc734d3caf3ae051e84b031b733cc65f39391 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@262528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Initialization/SystemInitializerCommon.cpp')
-rw-r--r-- | source/Initialization/SystemInitializerCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Initialization/SystemInitializerCommon.cpp b/source/Initialization/SystemInitializerCommon.cpp index 810b81d0d..d63b19b83 100644 --- a/source/Initialization/SystemInitializerCommon.cpp +++ b/source/Initialization/SystemInitializerCommon.cpp @@ -49,8 +49,8 @@ #endif #if defined(_MSC_VER) -#include "lldb/Host/windows/windows.h" #include "Plugins/Process/Windows/Common/ProcessWindowsLog.h" +#include "lldb/Host/windows/windows.h" #endif #include "llvm/Support/TargetSelect.h" |