[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / tools / intel-features / cli-wrapper.cpp
blob08fe7b25fe942b0f84bb1aafb5b7e00b4bda127d
1 //===-- cli-wrapper.cpp -----------------------------------------*- C++ -*-===//
2 //
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
6 //
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
10 // folders.
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"
19 #endif
21 #include "lldb/API/SBDebugger.h"
23 namespace lldb {
24 bool PluginInitialize(lldb::SBDebugger debugger);
27 bool lldb::PluginInitialize(lldb::SBDebugger debugger) {
29 #ifdef BUILD_INTEL_MPX
30 MPXPluginInitialize(debugger);
31 #endif
33 return true;