1 //===-- cli-wrapper.cpp -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 // CLI Wrapper for hardware features of Intel(R) architecture based processors
9 // to enable them to be used through LLDB's CLI. For details, please refer to
10 // cli wrappers of each individual feature, residing in their respective
13 // Compile this into a shared lib and load by placing at appropriate locations
14 // on disk or by using "plugin load" command at the LLDB command line.
16 //===----------------------------------------------------------------------===//
18 #include "intel-mpx/cli-wrapper-mpxtable.h"
19 #include "intel-pt/cli-wrapper-pt.h"
20 #include "lldb/API/SBDebugger.h"
23 bool PluginInitialize(lldb::SBDebugger debugger);
26 bool lldb::PluginInitialize(lldb::SBDebugger debugger) {
29 PTPluginInitialize(debugger);
32 #ifdef BUILD_INTEL_MPX
33 MPXPluginInitialize(debugger);