summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-03-02 22:05:52 +0000
committerZachary Turner <zturner@google.com>2016-03-02 22:05:52 +0000
commit74e08ca05cc9bcd67660ec60ae883de99c984afe (patch)
tree9880a0d30277c877ecac0506c8350cb419f3f29d /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent6470f7615cf67423f4f719610ea128e886ce6195 (diff)
downloadbcm5719-llvm-74e08ca05cc9bcd67660ec60ae883de99c984afe.tar.gz
bcm5719-llvm-74e08ca05cc9bcd67660ec60ae883de99c984afe.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud