[Lldb-commits] [lldb] r349036 - Add missing Initialize/Terminate for Architecture plugins
Tatyana Krasnukha via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 13 06:28:26 PST 2018
Author: tkrasnukha
Date: Thu Dec 13 06:28:25 2018
New Revision: 349036
URL: http://llvm.org/viewvc/llvm-project?rev=349036&view=rev
Log:
Add missing Initialize/Terminate for Architecture plugins
Modified:
lldb/trunk/source/API/SystemInitializerFull.cpp
Modified: lldb/trunk/source/API/SystemInitializerFull.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SystemInitializerFull.cpp?rev=349036&r1=349035&r2=349036&view=diff
==============================================================================
--- lldb/trunk/source/API/SystemInitializerFull.cpp (original)
+++ lldb/trunk/source/API/SystemInitializerFull.cpp Thu Dec 13 06:28:25 2018
@@ -40,6 +40,7 @@
#include "Plugins/ABI/SysV-s390x/ABISysV_s390x.h"
#include "Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h"
#include "Plugins/Architecture/Arm/ArchitectureArm.h"
+#include "Plugins/Architecture/Mips/ArchitectureMips.h"
#include "Plugins/Architecture/PPC64/ArchitecturePPC64.h"
#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
#include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h"
@@ -326,6 +327,7 @@ SystemInitializerFull::Initialize(const
ABISysV_s390x::Initialize();
ArchitectureArm::Initialize();
+ ArchitectureMips::Initialize();
ArchitecturePPC64::Initialize();
DisassemblerLLVMC::Initialize();
@@ -440,6 +442,10 @@ void SystemInitializerFull::Terminate()
ClangASTContext::Terminate();
+ ArchitectureArm::Terminate();
+ ArchitectureMips::Terminate();
+ ArchitecturePPC64::Terminate();
+
ABIMacOSX_i386::Terminate();
ABIMacOSX_arm::Terminate();
ABIMacOSX_arm64::Terminate();
More information about the lldb-commits
mailing list