xref: /freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
1 //===-- ARM.h -------------------------------------------------------------===//
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 //===----------------------------------------------------------------------===//
8 
9 #include "ABIARM.h"
10 #ifdef LLDB_ENABLE_ALL
11 #include "ABIMacOSX_arm.h"
12 #endif // LLDB_ENABLE_ALL
13 #include "ABISysV_arm.h"
14 #include "lldb/Core/PluginManager.h"
15 
LLDB_PLUGIN_DEFINE(ABIARM)16 LLDB_PLUGIN_DEFINE(ABIARM)
17 
18 void ABIARM::Initialize() {
19   ABISysV_arm::Initialize();
20 #ifdef LLDB_ENABLE_ALL
21   ABIMacOSX_arm::Initialize();
22 #endif // LLDB_ENABLE_ALL
23 }
24 
Terminate()25 void ABIARM::Terminate() {
26   ABISysV_arm::Terminate();
27 #ifdef LLDB_ENABLE_ALL
28   ABIMacOSX_arm::Terminate();
29 #endif // LLDB_ENABLE_ALL
30 }
31