Walter Erquinigo 32bacb7410 [lldb][intel-pt] Remove old plugin
Now that LLDB proper has built-in support for intel-pt traces, we can remove the old plugin written by Intel. It has less features and it's hard to work with.

As a test, I ran "ninja lldbIntelFeatures" and it worked.

Differential Revision: https://reviews.llvm.org/D102866
2021-05-27 12:16:22 -07:00

35 lines
1.1 KiB
C++

//===-- cli-wrapper.cpp -----------------------------------------*- C++ -*-===//
//
// 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
//
// CLI Wrapper for hardware features of Intel(R) architecture based processors
// to enable them to be used through LLDB's CLI. For details, please refer to
// cli wrappers of each individual feature, residing in their respective
// folders.
//
// Compile this into a shared lib and load by placing at appropriate locations
// on disk or by using "plugin load" command at the LLDB command line.
//
//===----------------------------------------------------------------------===//
#ifdef BUILD_INTEL_MPX
#include "intel-mpx/cli-wrapper-mpxtable.h"
#endif
#include "lldb/API/SBDebugger.h"
namespace lldb {
bool PluginInitialize(lldb::SBDebugger debugger);
}
bool lldb::PluginInitialize(lldb::SBDebugger debugger) {
#ifdef BUILD_INTEL_MPX
MPXPluginInitialize(debugger);
#endif
return true;
}