llvm/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp

//===-- PlatformFreeBSD.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "PlatformFreeBSD.h"
#include "lldb/Host/Config.h"

#include <cstdio>
#if LLDB_ENABLE_POSIX
#include <sys/utsname.h>
#endif

#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Breakpoint/BreakpointSite.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"

#include "llvm/TargetParser/Host.h"
#include "llvm/TargetParser/Triple.h"

// Define these constants from FreeBSD mman.h for use when targeting remote
// FreeBSD systems even when host has different values.
#define MAP_PRIVATE
#define MAP_ANON

usingnamespacelldb;
usingnamespacelldb_private;
usingnamespacelldb_private::platform_freebsd;

LLDB_PLUGIN_DEFINE()

static uint32_t g_initialize_count =;


PlatformSP PlatformFreeBSD::CreateInstance(bool force, const ArchSpec *arch) {}

llvm::StringRef PlatformFreeBSD::GetPluginDescriptionStatic(bool is_host) {}

void PlatformFreeBSD::Initialize() {}

void PlatformFreeBSD::Terminate() {}

/// Default Constructor
PlatformFreeBSD::PlatformFreeBSD(bool is_host)
    :{}

std::vector<ArchSpec>
PlatformFreeBSD::GetSupportedArchitectures(const ArchSpec &process_host_arch) {}

void PlatformFreeBSD::GetStatus(Stream &strm) {}

bool PlatformFreeBSD::CanDebugProcess() {}

void PlatformFreeBSD::CalculateTrapHandlerSymbolNames() {}

MmapArgList PlatformFreeBSD::GetMmapArgumentList(const ArchSpec &arch,
                                                 addr_t addr, addr_t length,
                                                 unsigned prot, unsigned flags,
                                                 addr_t fd, addr_t offset) {}

CompilerType PlatformFreeBSD::GetSiginfoType(const llvm::Triple &triple) {}