mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-27 02:09:54 +00:00
Create instance of DynamicLoaderPOSIXDYLD on NetBSD
Summary: NetBSD is a modern ELF UNIX-like system. There is requires DynamicLoaderPOSIXDYLD e.g. for ELF AUXV reading from the client. Sponsored by <The NetBSD Foundation> Reviewers: labath, joerg, kettenis Reviewed By: labath Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D31192 llvm-svn: 298409
This commit is contained in:
parent
1a3d19dd25
commit
a1e3d08666
@ -63,8 +63,9 @@ DynamicLoader *DynamicLoaderPOSIXDYLD::CreateInstance(Process *process,
|
||||
if (!create) {
|
||||
const llvm::Triple &triple_ref =
|
||||
process->GetTarget().GetArchitecture().GetTriple();
|
||||
if (triple_ref.getOS() == llvm::Triple::Linux ||
|
||||
triple_ref.getOS() == llvm::Triple::FreeBSD)
|
||||
if (triple_ref.getOS() == llvm::Triple::FreeBSD ||
|
||||
triple_ref.getOS() == llvm::Triple::Linux ||
|
||||
triple_ref.getOS() == llvm::Triple::NetBSD)
|
||||
create = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user