Update lldb Makefile, and disable some functionality for Windows and

Darwin.
This commit is contained in:
Dimitry Andric 2017-01-04 19:53:04 +00:00
parent 0fc5d23818
commit 629e066c03
2 changed files with 11 additions and 8 deletions

View File

@ -78,7 +78,7 @@
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
#include "Plugins/Process/elf-core/ProcessElfCore.h"
#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/Process/minidump/ProcessMinidump.h"
//#include "Plugins/Process/minidump/ProcessMinidump.h"
#include "Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h"
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h"
@ -101,7 +101,7 @@
#include "Plugins/Process/mach-core/ProcessMachCore.h"
#include "Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h"
#endif
#include "Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h"
//#include "Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h"
#if defined(__FreeBSD__)
#include "Plugins/Process/FreeBSD/ProcessFreeBSD.h"
@ -304,7 +304,7 @@ void SystemInitializerFull::Initialize() {
JITLoaderGDB::Initialize();
ProcessElfCore::Initialize();
minidump::ProcessMinidump::Initialize();
//minidump::ProcessMinidump::Initialize();
MemoryHistoryASan::Initialize();
AddressSanitizerRuntime::Initialize();
//ThreadSanitizerRuntime::Initialize();
@ -351,7 +351,7 @@ void SystemInitializerFull::Initialize() {
// This plugin is valid on any host that talks to a Darwin remote.
// It shouldn't be limited to __APPLE__.
StructuredDataDarwinLog::Initialize();
//StructuredDataDarwinLog::Initialize();
//----------------------------------------------------------------------
// Platform agnostic plugins
@ -427,7 +427,7 @@ void SystemInitializerFull::Terminate() {
JITLoaderGDB::Terminate();
ProcessElfCore::Terminate();
minidump::ProcessMinidump::Terminate();
//minidump::ProcessMinidump::Terminate();
MemoryHistoryASan::Terminate();
AddressSanitizerRuntime::Terminate();
//ThreadSanitizerRuntime::Terminate();
@ -471,7 +471,7 @@ void SystemInitializerFull::Terminate() {
platform_gdb_server::PlatformRemoteGDBServer::Terminate();
process_gdb_remote::ProcessGDBRemote::Terminate();
StructuredDataDarwinLog::Terminate();
//StructuredDataDarwinLog::Terminate();
//DynamicLoaderMacOSXDYLD::Terminate();
//DynamicLoaderMacOS::Terminate();

View File

@ -53,6 +53,7 @@ SRCS+= API/SBSection.cpp
SRCS+= API/SBSourceManager.cpp
SRCS+= API/SBStream.cpp
SRCS+= API/SBStringList.cpp
SRCS+= API/SBStructuredData.cpp
SRCS+= API/SBSymbol.cpp
SRCS+= API/SBSymbolContext.cpp
SRCS+= API/SBSymbolContextList.cpp
@ -292,7 +293,6 @@ SRCS+= Interpreter/OptionGroupVariable.cpp
SRCS+= Interpreter/OptionGroupWatchpoint.cpp
SRCS+= Interpreter/OptionValue.cpp
SRCS+= Interpreter/OptionValueArch.cpp
SRCS+= Interpreter/OptionValueArgs.cpp
SRCS+= Interpreter/OptionValueArray.cpp
SRCS+= Interpreter/OptionValueBoolean.cpp
SRCS+= Interpreter/OptionValueChar.cpp
@ -420,6 +420,7 @@ SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
SRCS+= Plugins/Process/Utility/RegisterContextThreadMemory.cpp
SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
SRCS+= Plugins/Process/Utility/StopInfoMachException.cpp
SRCS+= Plugins/Process/Utility/ThreadMemory.cpp
SRCS+= Plugins/Process/Utility/UnwindLLDB.cpp
@ -431,6 +432,7 @@ SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp
SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
SRCS+= Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
SRCS+= Plugins/Process/elf-core/ThreadElfCore.cpp
SRCS+= Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@ -474,6 +476,7 @@ SRCS+= Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
SRCS+= Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
SRCS+= Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
SRCS+= Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
SRCS+= Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
SRCS+= Symbol/ArmUnwindInfo.cpp
SRCS+= Symbol/Block.cpp
SRCS+= Symbol/ClangASTContext.cpp
@ -563,7 +566,6 @@ SRCS+= Target/ThreadPlanTracer.cpp
SRCS+= Target/ThreadSpec.cpp
SRCS+= Target/UnixSignals.cpp
SRCS+= Target/UnwindAssembly.cpp
SRCS+= Utility/ARM64_DWARF_Registers.cpp
SRCS+= Utility/ARM_DWARF_Registers.cpp
SRCS+= Utility/ConvertEnum.cpp
SRCS+= Utility/JSON.cpp
@ -572,6 +574,7 @@ SRCS+= Utility/ModuleCache.cpp
SRCS+= Utility/NameMatches.cpp
SRCS+= Utility/PseudoTerminal.cpp
SRCS+= Utility/RegisterNumber.cpp
SRCS+= Utility/SelectHelper.cpp
SRCS+= Utility/SharingPtr.cpp
SRCS+= Utility/StringExtractor.cpp
SRCS+= Utility/StringExtractorGDBRemote.cpp