1 //===-- NativeRegisterContextOpenBSD_arch.cpp ---------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // NativeRegisterContextOpenBSD_* contains the implementations for each 11 // supported architecture, and includes the static initalizer 12 // CreateHostNativeRegisterContextOpenBSD() implementation which returns a arch 13 // specific register context. This implementation contains a stub 14 // which just reports an error and exits on architectures which do 15 // not have a backend. 16 17 #if !defined(__arm64__) && !defined(__aarch64__) && !defined(__x86_64__) 18 19 #include "Plugins/Process/OpenBSD/NativeRegisterContextOpenBSD.h" 20 21 using namespace lldb_private; 22 using namespace lldb_private::process_openbsd; 23 24 std::unique_ptr<NativeRegisterContextOpenBSD> CreateHostNativeRegisterContextOpenBSD(const ArchSpec & target_arch,NativeThreadProtocol & native_thread)25NativeRegisterContextOpenBSD::CreateHostNativeRegisterContextOpenBSD( 26 const ArchSpec &target_arch, NativeThreadProtocol &native_thread) { 27 return std::unique_ptr<NativeRegisterContextOpenBSD>{}; 28 } 29 30 #endif 31