diff options
author | Kamil Rytarowski <n54@gmx.com> | 2017-03-26 15:34:57 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2017-03-26 15:34:57 +0000 |
commit | 12801f1e0f2f505ecf0a172341a6eccb2f930b28 (patch) | |
tree | 625a9714d14f81aff640be060ee6a4005dc787f0 /llvm/lib/Support/CommandLine.cpp | |
parent | 8096a8c86ff03213f43ed3cda182ae3005c3cdf7 (diff) | |
download | llvm-12801f1e0f2f505ecf0a172341a6eccb2f930b28.zip llvm-12801f1e0f2f505ecf0a172341a6eccb2f930b28.tar.gz llvm-12801f1e0f2f505ecf0a172341a6eccb2f930b28.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions