summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp')
-rw-r--r--lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp b/lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp
new file mode 100644
index 000000000000..b561e3c93f57
--- /dev/null
+++ b/lldb/source/Plugins/ABI/PowerPC/ABIPowerPC.cpp
@@ -0,0 +1,24 @@
+//===-- PowerPC.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 "ABIPowerPC.h"
+#include "ABISysV_ppc.h"
+#include "ABISysV_ppc64.h"
+#include "lldb/Core/PluginManager.h"
+
+LLDB_PLUGIN_DEFINE(ABIPowerPC)
+
+void ABIPowerPC::Initialize() {
+ ABISysV_ppc::Initialize();
+ ABISysV_ppc64::Initialize();
+}
+
+void ABIPowerPC::Terminate() {
+ ABISysV_ppc::Terminate();
+ ABISysV_ppc64::Terminate();
+}