aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp')
-rw-r--r--contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp b/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp
new file mode 100644
index 000000000000..01138b449215
--- /dev/null
+++ b/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ABIARM.cpp
@@ -0,0 +1,30 @@
+//===-- ARM.h -------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "ABIARM.h"
+#ifdef LLDB_ENABLE_ALL
+#include "ABIMacOSX_arm.h"
+#endif // LLDB_ENABLE_ALL
+#include "ABISysV_arm.h"
+#include "lldb/Core/PluginManager.h"
+
+LLDB_PLUGIN_DEFINE(ABIARM)
+
+void ABIARM::Initialize() {
+ ABISysV_arm::Initialize();
+#ifdef LLDB_ENABLE_ALL
+ ABIMacOSX_arm::Initialize();
+#endif // LLDB_ENABLE_ALL
+}
+
+void ABIARM::Terminate() {
+ ABISysV_arm::Terminate();
+#ifdef LLDB_ENABLE_ALL
+ ABIMacOSX_arm::Terminate();
+#endif // LLDB_ENABLE_ALL
+}