llvm/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp

//===-- LinuxSignals.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 "LinuxSignals.h"

#ifdef __linux__
#include <csignal>

#ifndef SEGV_BNDERR
#define SEGV_BNDERR
#endif
#ifndef SEGV_MTEAERR
#define SEGV_MTEAERR
#endif
#ifndef SEGV_MTESERR
#define SEGV_MTESERR
#endif

#define ADD_SIGCODE(signal_name, signal_value, code_name, code_value, ...)
#else
#define ADD_SIGCODE
#endif /* ifdef __linux__ */

usingnamespacelldb_private;

LinuxSignals::LinuxSignals() :{}

void LinuxSignals::Reset() {}