hanchenye-llvm-project/lldb
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
..
cmake CMake requires normalized paths when appending. 2017-03-17 16:33:37 +00:00
docs Fix a race condition in FuncUnwinders where the mutex was being 2017-02-24 03:35:46 +00:00
examples Improve crashlog.py so it can handle more iOS crashlog files. 2016-12-08 00:22:45 +00:00
include/lldb [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
lit [test] Fix finding LLDB tools when building stand-alone 2017-02-19 22:11:38 +00:00
lldb.xcodeproj Merge r298536 changes to Xcode 2017-03-22 20:21:52 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Delete TestLLVM.py 2017-03-22 17:08:25 +00:00
resources
scripts [analyze deps] Show incoming and outgoing counts on island members. 2017-03-22 18:23:14 +00:00
source [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
test [CMake] Override debugserver to use the build tree on Darwin 2017-03-14 20:04:46 +00:00
third_party/Python/module
tools Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
unittests Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
utils
www Python commands as first class citizens. 2017-03-02 22:24:01 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Install six.py conditionally 2017-02-04 00:20:24 +00:00
CODE_OWNERS.txt Greg Clayton is no longer working at Apple, he will continue to 2017-03-01 00:00:45 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py