diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-06 19:38:24 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-06 19:38:24 +0000 |
commit | e24d8c55d55108243c35a02e6e185debd9f6eb05 (patch) | |
tree | 56c08ada9f6f2cb690b587c777ca2dfd52739b67 /lldb/source/Initialization/SystemInitializerCommon.cpp | |
parent | 55a71b575c374f99d427aba3ae798194587e95e2 (diff) | |
download | bcm5719-llvm-e24d8c55d55108243c35a02e6e185debd9f6eb05.tar.gz bcm5719-llvm-e24d8c55d55108243c35a02e6e185debd9f6eb05.zip |
Initialization: move InstructionEmulation to full initialization
The debug server does not need to use the instruction emulation. This
helps reduce the size of the final lldb-server binary by another ~100K
(~1% savings).
llvm-svn: 360067
Diffstat (limited to 'lldb/source/Initialization/SystemInitializerCommon.cpp')
-rw-r--r-- | lldb/source/Initialization/SystemInitializerCommon.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/Initialization/SystemInitializerCommon.cpp b/lldb/source/Initialization/SystemInitializerCommon.cpp index 6fcdad88485..75679560441 100644 --- a/lldb/source/Initialization/SystemInitializerCommon.cpp +++ b/lldb/source/Initialization/SystemInitializerCommon.cpp @@ -8,9 +8,6 @@ #include "lldb/Initialization/SystemInitializerCommon.h" -#include "Plugins/Instruction/ARM/EmulateInstructionARM.h" -#include "Plugins/Instruction/MIPS/EmulateInstructionMIPS.h" -#include "Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h" #include "Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h" #include "lldb/Host/FileSystem.h" #include "lldb/Host/Host.h" @@ -99,10 +96,6 @@ llvm::Error SystemInitializerCommon::Initialize() { process_gdb_remote::ProcessGDBRemoteLog::Initialize(); - EmulateInstructionARM::Initialize(); - EmulateInstructionMIPS::Initialize(); - EmulateInstructionMIPS64::Initialize(); - #if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) ProcessPOSIXLog::Initialize(); #endif @@ -117,10 +110,6 @@ void SystemInitializerCommon::Terminate() { static Timer::Category func_cat(LLVM_PRETTY_FUNCTION); Timer scoped_timer(func_cat, LLVM_PRETTY_FUNCTION); - EmulateInstructionARM::Terminate(); - EmulateInstructionMIPS::Terminate(); - EmulateInstructionMIPS64::Terminate(); - #if defined(_WIN32) ProcessWindowsLog::Terminate(); #endif |