hanchenye-llvm-project/lldb/source
Kamil Rytarowski 12801f1e0f [LLDB] OpenBSD support
Summary:
Add basic OpenBSD support. This is enough to be able to analyze core dumps for OpenBSD/amd64, OpenBSD/arm, OpenBSD/arm64 and OpenBSD/i386.

Note that part of the changes to source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp fix a bug that probably affects other platforms as well.  The GetProgramHeaderByIndex() interface use 1-based indices, but in some case when looping over the headers the, the loop starts at 0 and misses the last header.  This caused problems on OpenBSD since OpenBSD core dumps have the PT_NOTE segment as the last program header.


Reviewers: joerg, labath, krytarowski

Reviewed By: krytarowski

Subscribers: aemerson, emaste, rengolin, srhines, krytarowski, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D31131

llvm-svn: 298810
2017-03-26 15:34:57 +00:00
..
API [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
Breakpoint Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
Commands Delete some more dead includes. 2017-03-22 23:33:16 +00:00
Core Delete some more dead includes. 2017-03-22 23:33:16 +00:00
DataFormatters Remove some dead code from DumpValueObjectOptions::PointerDepth 2017-03-18 17:33:00 +00:00
Expression Expression: add missing linkage to RuntimeDyld component 2017-03-25 18:51:29 +00:00
Host [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
Initialization Enable ProcessPOSIXLog on NetBSD 2017-03-21 17:26:55 +00:00
Interpreter Delete some more dead includes. 2017-03-22 23:33:16 +00:00
Plugins [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
Symbol Remove dead include from GoASTContext.cpp. 2017-03-22 19:24:17 +00:00
Target Delete some more dead includes. 2017-03-22 23:33:16 +00:00
Utility Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
CMakeLists.txt [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
lldb.cpp One more cleanup to lldb version printing 2016-11-14 22:43:08 +00:00