1 //===-- cli-wrapper.cpp -----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 // CLI Wrapper for hardware features of Intel(R) architecture based processors
8 // to enable them to be used through LLDB's CLI. For details, please refer to
9 // cli wrappers of each individual feature, residing in their respective
12 // Compile this into a shared lib and load by placing at appropriate locations
13 // on disk or by using "plugin load" command at the LLDB command line.
15 //===----------------------------------------------------------------------===//
17 #ifdef BUILD_INTEL_MPX
18 #include "intel-mpx/cli-wrapper-mpxtable.h"
21 #include "lldb/API/SBDebugger.h"
24 bool PluginInitialize(lldb::SBDebugger debugger
);
27 bool lldb::PluginInitialize(lldb::SBDebugger debugger
) {
29 #ifdef BUILD_INTEL_MPX
30 MPXPluginInitialize(debugger
);