Update build glue for lldb. Also comment out parts of the
initialization and termination code which reference plugins and components that we don't use.
This commit is contained in:
parent
0c6be76289
commit
9228435a16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/clang390-import/; revision=304536
@ -26,48 +26,62 @@
|
|||||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||||
#include "lldb/Symbol/ClangASTContext.h"
|
#include "lldb/Symbol/ClangASTContext.h"
|
||||||
#include "lldb/Symbol/GoASTContext.h"
|
#include "lldb/Symbol/GoASTContext.h"
|
||||||
#include "lldb/Symbol/JavaASTContext.h"
|
//#include "lldb/Symbol/JavaASTContext.h"
|
||||||
|
|
||||||
|
//#include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
|
||||||
|
//#include "Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h"
|
||||||
|
//#include "Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h"
|
||||||
#include "Plugins/ABI/SysV-arm/ABISysV_arm.h"
|
#include "Plugins/ABI/SysV-arm/ABISysV_arm.h"
|
||||||
#include "Plugins/ABI/SysV-arm64/ABISysV_arm64.h"
|
#include "Plugins/ABI/SysV-arm64/ABISysV_arm64.h"
|
||||||
|
//#include "Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h"
|
||||||
#include "Plugins/ABI/SysV-i386/ABISysV_i386.h"
|
#include "Plugins/ABI/SysV-i386/ABISysV_i386.h"
|
||||||
#include "Plugins/ABI/SysV-mips/ABISysV_mips.h"
|
#include "Plugins/ABI/SysV-mips/ABISysV_mips.h"
|
||||||
#include "Plugins/ABI/SysV-mips64/ABISysV_mips64.h"
|
#include "Plugins/ABI/SysV-mips64/ABISysV_mips64.h"
|
||||||
#include "Plugins/ABI/SysV-ppc/ABISysV_ppc.h"
|
#include "Plugins/ABI/SysV-ppc/ABISysV_ppc.h"
|
||||||
#include "Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h"
|
#include "Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h"
|
||||||
#include "Plugins/ABI/SysV-s390x/ABISysV_s390x.h"
|
//#include "Plugins/ABI/SysV-s390x/ABISysV_s390x.h"
|
||||||
#include "Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h"
|
#include "Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h"
|
||||||
#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
|
#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
|
||||||
#include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
|
//#include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
|
||||||
#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
|
#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
|
||||||
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
|
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
|
||||||
#include "Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h"
|
//#include "Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h"
|
||||||
#include "Plugins/Instruction/ARM64/EmulateInstructionARM64.h"
|
#include "Plugins/Instruction/ARM64/EmulateInstructionARM64.h"
|
||||||
#include "Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.h"
|
#include "Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.h"
|
||||||
#include "Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h"
|
//#include "Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.h"
|
||||||
#include "Plugins/JITLoader/GDB/JITLoaderGDB.h"
|
#include "Plugins/JITLoader/GDB/JITLoaderGDB.h"
|
||||||
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
||||||
|
//#include "Plugins/Language/Go/GoLanguage.h"
|
||||||
|
//#include "Plugins/Language/Java/JavaLanguage.h"
|
||||||
|
//#include "Plugins/Language/ObjC/ObjCLanguage.h"
|
||||||
|
//#include "Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h"
|
||||||
#include "Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h"
|
#include "Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h"
|
||||||
|
//#include "Plugins/LanguageRuntime/Go/GoLanguageRuntime.h"
|
||||||
|
//#include "Plugins/LanguageRuntime/Java/JavaLanguageRuntime.h"
|
||||||
|
//#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h"
|
||||||
|
//#include "Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h"
|
||||||
|
//#include "Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h"
|
||||||
#include "Plugins/MemoryHistory/asan/MemoryHistoryASan.h"
|
#include "Plugins/MemoryHistory/asan/MemoryHistoryASan.h"
|
||||||
#include "Plugins/OperatingSystem/Go/OperatingSystemGo.h"
|
//#include "Plugins/OperatingSystem/Go/OperatingSystemGo.h"
|
||||||
#include "Plugins/OperatingSystem/Python/OperatingSystemPython.h"
|
//#include "Plugins/OperatingSystem/Python/OperatingSystemPython.h"
|
||||||
#include "Plugins/Platform/Android/PlatformAndroid.h"
|
//#include "Plugins/Platform/Android/PlatformAndroid.h"
|
||||||
#include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h"
|
#include "Plugins/Platform/FreeBSD/PlatformFreeBSD.h"
|
||||||
#include "Plugins/Platform/Kalimba/PlatformKalimba.h"
|
//#include "Plugins/Platform/Kalimba/PlatformKalimba.h"
|
||||||
#include "Plugins/Platform/Linux/PlatformLinux.h"
|
//#include "Plugins/Platform/Linux/PlatformLinux.h"
|
||||||
#include "Plugins/Platform/MacOSX/PlatformMacOSX.h"
|
//#include "Plugins/Platform/MacOSX/PlatformMacOSX.h"
|
||||||
#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
|
//#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
|
||||||
#include "Plugins/Platform/NetBSD/PlatformNetBSD.h"
|
//#include "Plugins/Platform/NetBSD/PlatformNetBSD.h"
|
||||||
#include "Plugins/Platform/Windows/PlatformWindows.h"
|
//#include "Plugins/Platform/Windows/PlatformWindows.h"
|
||||||
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
|
#include "Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h"
|
||||||
#include "Plugins/Process/elf-core/ProcessElfCore.h"
|
#include "Plugins/Process/elf-core/ProcessElfCore.h"
|
||||||
#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
|
#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
|
||||||
#include "Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h"
|
#include "Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h"
|
||||||
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
|
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARF.h"
|
||||||
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h"
|
#include "Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h"
|
||||||
#include "Plugins/SymbolFile/PDB/SymbolFilePDB.h"
|
//#include "Plugins/SymbolFile/PDB/SymbolFilePDB.h"
|
||||||
#include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h"
|
#include "Plugins/SymbolFile/Symtab/SymbolFileSymtab.h"
|
||||||
#include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h"
|
#include "Plugins/SymbolVendor/ELF/SymbolVendorELF.h"
|
||||||
|
//#include "Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h"
|
||||||
#include "Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h"
|
#include "Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h"
|
||||||
#include "Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h"
|
#include "Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h"
|
||||||
|
|
||||||
@ -266,7 +280,7 @@ SystemInitializerFull::Initialize()
|
|||||||
#ifndef LLDB_DISABLE_PYTHON
|
#ifndef LLDB_DISABLE_PYTHON
|
||||||
OperatingSystemPython::Initialize();
|
OperatingSystemPython::Initialize();
|
||||||
#endif
|
#endif
|
||||||
OperatingSystemGo::Initialize();
|
// OperatingSystemGo::Initialize();
|
||||||
|
|
||||||
#if !defined(LLDB_DISABLE_PYTHON)
|
#if !defined(LLDB_DISABLE_PYTHON)
|
||||||
InitializeSWIG();
|
InitializeSWIG();
|
||||||
@ -278,13 +292,13 @@ SystemInitializerFull::Initialize()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
platform_freebsd::PlatformFreeBSD::Initialize();
|
platform_freebsd::PlatformFreeBSD::Initialize();
|
||||||
platform_linux::PlatformLinux::Initialize();
|
// platform_linux::PlatformLinux::Initialize();
|
||||||
platform_netbsd::PlatformNetBSD::Initialize();
|
// platform_netbsd::PlatformNetBSD::Initialize();
|
||||||
PlatformWindows::Initialize();
|
// PlatformWindows::Initialize();
|
||||||
PlatformKalimba::Initialize();
|
// PlatformKalimba::Initialize();
|
||||||
platform_android::PlatformAndroid::Initialize();
|
// platform_android::PlatformAndroid::Initialize();
|
||||||
PlatformRemoteiOS::Initialize();
|
// PlatformRemoteiOS::Initialize();
|
||||||
PlatformMacOSX::Initialize();
|
// PlatformMacOSX::Initialize();
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
PlatformiOSSimulator::Initialize();
|
PlatformiOSSimulator::Initialize();
|
||||||
PlatformDarwinKernel::Initialize();
|
PlatformDarwinKernel::Initialize();
|
||||||
@ -298,17 +312,21 @@ SystemInitializerFull::Initialize()
|
|||||||
|
|
||||||
ClangASTContext::Initialize();
|
ClangASTContext::Initialize();
|
||||||
GoASTContext::Initialize();
|
GoASTContext::Initialize();
|
||||||
JavaASTContext::Initialize();
|
// JavaASTContext::Initialize();
|
||||||
|
|
||||||
|
// ABIMacOSX_i386::Initialize();
|
||||||
|
// ABIMacOSX_arm::Initialize();
|
||||||
|
// ABIMacOSX_arm64::Initialize();
|
||||||
ABISysV_arm::Initialize();
|
ABISysV_arm::Initialize();
|
||||||
ABISysV_arm64::Initialize();
|
ABISysV_arm64::Initialize();
|
||||||
|
// ABISysV_hexagon::Initialize();
|
||||||
ABISysV_i386::Initialize();
|
ABISysV_i386::Initialize();
|
||||||
ABISysV_x86_64::Initialize();
|
ABISysV_x86_64::Initialize();
|
||||||
ABISysV_ppc::Initialize();
|
ABISysV_ppc::Initialize();
|
||||||
ABISysV_ppc64::Initialize();
|
ABISysV_ppc64::Initialize();
|
||||||
ABISysV_mips::Initialize();
|
ABISysV_mips::Initialize();
|
||||||
ABISysV_mips64::Initialize();
|
ABISysV_mips64::Initialize();
|
||||||
ABISysV_s390x::Initialize();
|
// ABISysV_s390x::Initialize();
|
||||||
DisassemblerLLVMC::Initialize();
|
DisassemblerLLVMC::Initialize();
|
||||||
|
|
||||||
JITLoaderGDB::Initialize();
|
JITLoaderGDB::Initialize();
|
||||||
@ -318,20 +336,29 @@ SystemInitializerFull::Initialize()
|
|||||||
#endif
|
#endif
|
||||||
MemoryHistoryASan::Initialize();
|
MemoryHistoryASan::Initialize();
|
||||||
AddressSanitizerRuntime::Initialize();
|
AddressSanitizerRuntime::Initialize();
|
||||||
ThreadSanitizerRuntime::Initialize();
|
// ThreadSanitizerRuntime::Initialize();
|
||||||
|
|
||||||
SymbolVendorELF::Initialize();
|
SymbolVendorELF::Initialize();
|
||||||
SymbolFileDWARF::Initialize();
|
SymbolFileDWARF::Initialize();
|
||||||
SymbolFilePDB::Initialize();
|
// SymbolFilePDB::Initialize();
|
||||||
SymbolFileSymtab::Initialize();
|
SymbolFileSymtab::Initialize();
|
||||||
UnwindAssemblyInstEmulation::Initialize();
|
UnwindAssemblyInstEmulation::Initialize();
|
||||||
UnwindAssembly_x86::Initialize();
|
UnwindAssembly_x86::Initialize();
|
||||||
EmulateInstructionARM64::Initialize();
|
EmulateInstructionARM64::Initialize();
|
||||||
SymbolFileDWARFDebugMap::Initialize();
|
SymbolFileDWARFDebugMap::Initialize();
|
||||||
ItaniumABILanguageRuntime::Initialize();
|
ItaniumABILanguageRuntime::Initialize();
|
||||||
JavaLanguageRuntime::Initialize();
|
// AppleObjCRuntimeV2::Initialize();
|
||||||
|
// AppleObjCRuntimeV1::Initialize();
|
||||||
|
// SystemRuntimeMacOSX::Initialize();
|
||||||
|
// RenderScriptRuntime::Initialize();
|
||||||
|
// GoLanguageRuntime::Initialize();
|
||||||
|
// JavaLanguageRuntime::Initialize();
|
||||||
|
|
||||||
CPlusPlusLanguage::Initialize();
|
CPlusPlusLanguage::Initialize();
|
||||||
|
// GoLanguage::Initialize();
|
||||||
|
// JavaLanguage::Initialize();
|
||||||
|
// ObjCLanguage::Initialize();
|
||||||
|
// ObjCPlusPlusLanguage::Initialize();
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
ProcessWindowsLive::Initialize();
|
ProcessWindowsLive::Initialize();
|
||||||
@ -355,10 +382,10 @@ SystemInitializerFull::Initialize()
|
|||||||
platform_gdb_server::PlatformRemoteGDBServer::Initialize();
|
platform_gdb_server::PlatformRemoteGDBServer::Initialize();
|
||||||
|
|
||||||
process_gdb_remote::ProcessGDBRemote::Initialize();
|
process_gdb_remote::ProcessGDBRemote::Initialize();
|
||||||
DynamicLoaderMacOSXDYLD::Initialize();
|
// DynamicLoaderMacOSXDYLD::Initialize();
|
||||||
DynamicLoaderPOSIXDYLD::Initialize();
|
DynamicLoaderPOSIXDYLD::Initialize();
|
||||||
DynamicLoaderStatic::Initialize();
|
DynamicLoaderStatic::Initialize();
|
||||||
DynamicLoaderWindowsDYLD::Initialize();
|
// DynamicLoaderWindowsDYLD::Initialize();
|
||||||
|
|
||||||
// Scan for any system or user LLDB plug-ins
|
// Scan for any system or user LLDB plug-ins
|
||||||
PluginManager::Initialize();
|
PluginManager::Initialize();
|
||||||
@ -414,17 +441,21 @@ SystemInitializerFull::Terminate()
|
|||||||
|
|
||||||
ClangASTContext::Terminate();
|
ClangASTContext::Terminate();
|
||||||
GoASTContext::Terminate();
|
GoASTContext::Terminate();
|
||||||
JavaASTContext::Terminate();
|
// JavaASTContext::Terminate();
|
||||||
|
|
||||||
|
// ABIMacOSX_i386::Terminate();
|
||||||
|
// ABIMacOSX_arm::Terminate();
|
||||||
|
// ABIMacOSX_arm64::Terminate();
|
||||||
ABISysV_arm::Terminate();
|
ABISysV_arm::Terminate();
|
||||||
ABISysV_arm64::Terminate();
|
ABISysV_arm64::Terminate();
|
||||||
|
// ABISysV_hexagon::Terminate();
|
||||||
ABISysV_i386::Terminate();
|
ABISysV_i386::Terminate();
|
||||||
ABISysV_x86_64::Terminate();
|
ABISysV_x86_64::Terminate();
|
||||||
ABISysV_ppc::Terminate();
|
ABISysV_ppc::Terminate();
|
||||||
ABISysV_ppc64::Terminate();
|
ABISysV_ppc64::Terminate();
|
||||||
ABISysV_mips::Terminate();
|
ABISysV_mips::Terminate();
|
||||||
ABISysV_mips64::Terminate();
|
ABISysV_mips64::Terminate();
|
||||||
ABISysV_s390x::Terminate();
|
// ABISysV_s390x::Terminate();
|
||||||
DisassemblerLLVMC::Terminate();
|
DisassemblerLLVMC::Terminate();
|
||||||
|
|
||||||
JITLoaderGDB::Terminate();
|
JITLoaderGDB::Terminate();
|
||||||
@ -434,19 +465,27 @@ SystemInitializerFull::Terminate()
|
|||||||
#endif
|
#endif
|
||||||
MemoryHistoryASan::Terminate();
|
MemoryHistoryASan::Terminate();
|
||||||
AddressSanitizerRuntime::Terminate();
|
AddressSanitizerRuntime::Terminate();
|
||||||
ThreadSanitizerRuntime::Terminate();
|
// ThreadSanitizerRuntime::Terminate();
|
||||||
SymbolVendorELF::Terminate();
|
SymbolVendorELF::Terminate();
|
||||||
SymbolFileDWARF::Terminate();
|
SymbolFileDWARF::Terminate();
|
||||||
SymbolFilePDB::Terminate();
|
// SymbolFilePDB::Terminate();
|
||||||
SymbolFileSymtab::Terminate();
|
SymbolFileSymtab::Terminate();
|
||||||
UnwindAssembly_x86::Terminate();
|
UnwindAssembly_x86::Terminate();
|
||||||
UnwindAssemblyInstEmulation::Terminate();
|
UnwindAssemblyInstEmulation::Terminate();
|
||||||
EmulateInstructionARM64::Terminate();
|
EmulateInstructionARM64::Terminate();
|
||||||
SymbolFileDWARFDebugMap::Terminate();
|
SymbolFileDWARFDebugMap::Terminate();
|
||||||
ItaniumABILanguageRuntime::Terminate();
|
ItaniumABILanguageRuntime::Terminate();
|
||||||
JavaLanguageRuntime::Terminate();
|
// AppleObjCRuntimeV2::Terminate();
|
||||||
|
// AppleObjCRuntimeV1::Terminate();
|
||||||
|
// SystemRuntimeMacOSX::Terminate();
|
||||||
|
// RenderScriptRuntime::Terminate();
|
||||||
|
// JavaLanguageRuntime::Terminate();
|
||||||
|
|
||||||
CPlusPlusLanguage::Terminate();
|
CPlusPlusLanguage::Terminate();
|
||||||
|
// GoLanguage::Terminate();
|
||||||
|
// JavaLanguage::Terminate();
|
||||||
|
// ObjCLanguage::Terminate();
|
||||||
|
// ObjCPlusPlusLanguage::Terminate();
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
DynamicLoaderDarwinKernel::Terminate();
|
DynamicLoaderDarwinKernel::Terminate();
|
||||||
@ -466,24 +505,24 @@ SystemInitializerFull::Terminate()
|
|||||||
|
|
||||||
platform_gdb_server::PlatformRemoteGDBServer::Terminate();
|
platform_gdb_server::PlatformRemoteGDBServer::Terminate();
|
||||||
process_gdb_remote::ProcessGDBRemote::Terminate();
|
process_gdb_remote::ProcessGDBRemote::Terminate();
|
||||||
DynamicLoaderMacOSXDYLD::Terminate();
|
// DynamicLoaderMacOSXDYLD::Terminate();
|
||||||
DynamicLoaderPOSIXDYLD::Terminate();
|
DynamicLoaderPOSIXDYLD::Terminate();
|
||||||
DynamicLoaderStatic::Terminate();
|
DynamicLoaderStatic::Terminate();
|
||||||
DynamicLoaderWindowsDYLD::Terminate();
|
// DynamicLoaderWindowsDYLD::Terminate();
|
||||||
|
|
||||||
#ifndef LLDB_DISABLE_PYTHON
|
#ifndef LLDB_DISABLE_PYTHON
|
||||||
OperatingSystemPython::Terminate();
|
OperatingSystemPython::Terminate();
|
||||||
#endif
|
#endif
|
||||||
OperatingSystemGo::Terminate();
|
// OperatingSystemGo::Terminate();
|
||||||
|
|
||||||
platform_freebsd::PlatformFreeBSD::Terminate();
|
platform_freebsd::PlatformFreeBSD::Terminate();
|
||||||
platform_linux::PlatformLinux::Terminate();
|
// platform_linux::PlatformLinux::Terminate();
|
||||||
platform_netbsd::PlatformNetBSD::Terminate();
|
// platform_netbsd::PlatformNetBSD::Terminate();
|
||||||
PlatformWindows::Terminate();
|
// PlatformWindows::Terminate();
|
||||||
PlatformKalimba::Terminate();
|
// PlatformKalimba::Terminate();
|
||||||
platform_android::PlatformAndroid::Terminate();
|
// platform_android::PlatformAndroid::Terminate();
|
||||||
PlatformMacOSX::Terminate();
|
// PlatformMacOSX::Terminate();
|
||||||
PlatformRemoteiOS::Terminate();
|
// PlatformRemoteiOS::Terminate();
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
PlatformiOSSimulator::Terminate();
|
PlatformiOSSimulator::Terminate();
|
||||||
PlatformDarwinKernel::Terminate();
|
PlatformDarwinKernel::Terminate();
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#include "Plugins/Instruction/MIPS/EmulateInstructionMIPS.h"
|
#include "Plugins/Instruction/MIPS/EmulateInstructionMIPS.h"
|
||||||
#include "Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h"
|
#include "Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h"
|
||||||
#include "Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h"
|
#include "Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h"
|
||||||
|
//#include "Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h"
|
||||||
#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
|
#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
|
||||||
|
//#include "Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h"
|
||||||
#include "Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h"
|
#include "Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h"
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
@ -86,6 +88,7 @@ SystemInitializerCommon::Initialize()
|
|||||||
// Initialize plug-ins
|
// Initialize plug-ins
|
||||||
ObjectContainerBSDArchive::Initialize();
|
ObjectContainerBSDArchive::Initialize();
|
||||||
ObjectFileELF::Initialize();
|
ObjectFileELF::Initialize();
|
||||||
|
// ObjectFilePECOFF::Initialize();
|
||||||
|
|
||||||
EmulateInstructionARM::Initialize();
|
EmulateInstructionARM::Initialize();
|
||||||
EmulateInstructionMIPS::Initialize();
|
EmulateInstructionMIPS::Initialize();
|
||||||
@ -94,6 +97,8 @@ SystemInitializerCommon::Initialize()
|
|||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
// Apple/Darwin hosted plugins
|
// Apple/Darwin hosted plugins
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
// ObjectContainerUniversalMachO::Initialize();
|
||||||
|
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
ObjectFileMachO::Initialize();
|
ObjectFileMachO::Initialize();
|
||||||
@ -113,12 +118,13 @@ SystemInitializerCommon::Terminate()
|
|||||||
Timer scoped_timer(__PRETTY_FUNCTION__, __PRETTY_FUNCTION__);
|
Timer scoped_timer(__PRETTY_FUNCTION__, __PRETTY_FUNCTION__);
|
||||||
ObjectContainerBSDArchive::Terminate();
|
ObjectContainerBSDArchive::Terminate();
|
||||||
ObjectFileELF::Terminate();
|
ObjectFileELF::Terminate();
|
||||||
|
// ObjectFilePECOFF::Terminate();
|
||||||
|
|
||||||
EmulateInstructionARM::Terminate();
|
EmulateInstructionARM::Terminate();
|
||||||
EmulateInstructionMIPS::Terminate();
|
EmulateInstructionMIPS::Terminate();
|
||||||
EmulateInstructionMIPS64::Terminate();
|
EmulateInstructionMIPS64::Terminate();
|
||||||
|
|
||||||
ObjectContainerUniversalMachO::Terminate();
|
// ObjectContainerUniversalMachO::Terminate();
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
ObjectFileMachO::Terminate();
|
ObjectFileMachO::Terminate();
|
||||||
#endif
|
#endif
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "ProcessElfCore.h"
|
#include "ProcessElfCore.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextLinux_arm.h"
|
#include "Plugins/Process/Utility/RegisterContextLinux_arm.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextLinux_arm64.h"
|
#include "Plugins/Process/Utility/RegisterContextLinux_arm64.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextLinux_s390x.h"
|
//#include "Plugins/Process/Utility/RegisterContextLinux_s390x.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h"
|
#include "Plugins/Process/Utility/RegisterContextLinux_x86_64.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm.h"
|
||||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm64.h"
|
#include "Plugins/Process/Utility/RegisterContextFreeBSD_arm64.h"
|
||||||
@ -30,7 +30,7 @@
|
|||||||
#include "RegisterContextPOSIXCore_arm64.h"
|
#include "RegisterContextPOSIXCore_arm64.h"
|
||||||
#include "RegisterContextPOSIXCore_mips64.h"
|
#include "RegisterContextPOSIXCore_mips64.h"
|
||||||
#include "RegisterContextPOSIXCore_powerpc.h"
|
#include "RegisterContextPOSIXCore_powerpc.h"
|
||||||
#include "RegisterContextPOSIXCore_s390x.h"
|
//#include "RegisterContextPOSIXCore_s390x.h"
|
||||||
#include "RegisterContextPOSIXCore_x86_64.h"
|
#include "RegisterContextPOSIXCore_x86_64.h"
|
||||||
|
|
||||||
using namespace lldb;
|
using namespace lldb;
|
||||||
@ -141,9 +141,9 @@ ThreadElfCore::CreateRegisterContextForFrame (StackFrame *frame)
|
|||||||
case llvm::Triple::aarch64:
|
case llvm::Triple::aarch64:
|
||||||
reg_interface = new RegisterContextLinux_arm64(arch);
|
reg_interface = new RegisterContextLinux_arm64(arch);
|
||||||
break;
|
break;
|
||||||
case llvm::Triple::systemz:
|
// case llvm::Triple::systemz:
|
||||||
reg_interface = new RegisterContextLinux_s390x(arch);
|
// reg_interface = new RegisterContextLinux_s390x(arch);
|
||||||
break;
|
// break;
|
||||||
case llvm::Triple::x86_64:
|
case llvm::Triple::x86_64:
|
||||||
reg_interface = new RegisterContextLinux_x86_64(arch);
|
reg_interface = new RegisterContextLinux_x86_64(arch);
|
||||||
break;
|
break;
|
||||||
@ -179,9 +179,9 @@ ThreadElfCore::CreateRegisterContextForFrame (StackFrame *frame)
|
|||||||
case llvm::Triple::ppc64:
|
case llvm::Triple::ppc64:
|
||||||
m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_powerpc (*this, reg_interface, m_gpregset_data, m_fpregset_data, m_vregset_data));
|
m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_powerpc (*this, reg_interface, m_gpregset_data, m_fpregset_data, m_vregset_data));
|
||||||
break;
|
break;
|
||||||
case llvm::Triple::systemz:
|
// case llvm::Triple::systemz:
|
||||||
m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_s390x (*this, reg_interface, m_gpregset_data, m_fpregset_data));
|
// m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_s390x (*this, reg_interface, m_gpregset_data, m_fpregset_data));
|
||||||
break;
|
// break;
|
||||||
case llvm::Triple::x86:
|
case llvm::Triple::x86:
|
||||||
case llvm::Triple::x86_64:
|
case llvm::Triple::x86_64:
|
||||||
m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_x86_64 (*this, reg_interface, m_gpregset_data, m_fpregset_data));
|
m_thread_reg_ctx_sp.reset(new RegisterContextCorePOSIX_x86_64 (*this, reg_interface, m_gpregset_data, m_fpregset_data));
|
||||||
@ -226,7 +226,7 @@ ELFLinuxPrStatus::Parse(DataExtractor &data, ArchSpec &arch)
|
|||||||
size_t len;
|
size_t len;
|
||||||
switch(arch.GetCore())
|
switch(arch.GetCore())
|
||||||
{
|
{
|
||||||
case ArchSpec::eCore_s390x_generic:
|
// case ArchSpec::eCore_s390x_generic:
|
||||||
case ArchSpec::eCore_x86_64_x86_64:
|
case ArchSpec::eCore_x86_64_x86_64:
|
||||||
len = data.ExtractBytes(0, ELFLINUXPRSTATUS64_SIZE, byteorder, this);
|
len = data.ExtractBytes(0, ELFLINUXPRSTATUS64_SIZE, byteorder, this);
|
||||||
return len == ELFLINUXPRSTATUS64_SIZE;
|
return len == ELFLINUXPRSTATUS64_SIZE;
|
||||||
@ -250,7 +250,7 @@ ELFLinuxPrPsInfo::Parse(DataExtractor &data, ArchSpec &arch)
|
|||||||
size_t len;
|
size_t len;
|
||||||
switch(arch.GetCore())
|
switch(arch.GetCore())
|
||||||
{
|
{
|
||||||
case ArchSpec::eCore_s390x_generic:
|
// case ArchSpec::eCore_s390x_generic:
|
||||||
case ArchSpec::eCore_x86_64_x86_64:
|
case ArchSpec::eCore_x86_64_x86_64:
|
||||||
len = data.ExtractBytes(0, ELFLINUXPRPSINFO64_SIZE, byteorder, this);
|
len = data.ExtractBytes(0, ELFLINUXPRPSINFO64_SIZE, byteorder, this);
|
||||||
return len == ELFLINUXPRPSINFO64_SIZE;
|
return len == ELFLINUXPRPSINFO64_SIZE;
|
||||||
|
@ -150,6 +150,7 @@ SUBDIR+=liblldb \
|
|||||||
liblldbPluginABISysV_ppc \
|
liblldbPluginABISysV_ppc \
|
||||||
liblldbPluginABISysV_ppc64 \
|
liblldbPluginABISysV_ppc64 \
|
||||||
liblldbPluginABISysV_x86_64 \
|
liblldbPluginABISysV_x86_64 \
|
||||||
|
liblldbPluginCPlusPlusLanguage \
|
||||||
liblldbPluginCXXItaniumABI \
|
liblldbPluginCXXItaniumABI \
|
||||||
liblldbPluginDisassemblerLLVM \
|
liblldbPluginDisassemblerLLVM \
|
||||||
liblldbPluginDynamicLoaderStatic \
|
liblldbPluginDynamicLoaderStatic \
|
||||||
@ -162,9 +163,8 @@ SUBDIR+=liblldb \
|
|||||||
liblldbPluginInstructionMIPS64 \
|
liblldbPluginInstructionMIPS64 \
|
||||||
liblldbPluginInstrumentationRuntimeAddressSanitizer \
|
liblldbPluginInstrumentationRuntimeAddressSanitizer \
|
||||||
liblldbPluginJITLoaderGDB \
|
liblldbPluginJITLoaderGDB \
|
||||||
liblldbPluginLanguageCPlusPlus \
|
|
||||||
liblldbPluginLanguageObjC \
|
|
||||||
liblldbPluginMemoryHistoryASan \
|
liblldbPluginMemoryHistoryASan \
|
||||||
|
liblldbPluginObjCLanguage \
|
||||||
liblldbPluginObjectContainerBSDArchive \
|
liblldbPluginObjectContainerBSDArchive \
|
||||||
liblldbPluginObjectFileELF \
|
liblldbPluginObjectFileELF \
|
||||||
liblldbPluginObjectFileJIT \
|
liblldbPluginObjectFileJIT \
|
||||||
@ -177,6 +177,7 @@ SUBDIR+=liblldb \
|
|||||||
liblldbPluginProcessUtility \
|
liblldbPluginProcessUtility \
|
||||||
liblldbPluginScriptInterpreterNone \
|
liblldbPluginScriptInterpreterNone \
|
||||||
liblldbPluginSymbolFileDWARF \
|
liblldbPluginSymbolFileDWARF \
|
||||||
|
liblldbPluginSymbolFilePDB \
|
||||||
liblldbPluginSymbolFileSymtab \
|
liblldbPluginSymbolFileSymtab \
|
||||||
liblldbPluginSymbolVendorELF \
|
liblldbPluginSymbolVendorELF \
|
||||||
liblldbPluginUnwindAssemblyInstEmulation \
|
liblldbPluginUnwindAssemblyInstEmulation \
|
||||||
|
@ -33,6 +33,8 @@ SRCS= SBAddress.cpp \
|
|||||||
SBLaunchInfo.cpp \
|
SBLaunchInfo.cpp \
|
||||||
SBLineEntry.cpp \
|
SBLineEntry.cpp \
|
||||||
SBListener.cpp \
|
SBListener.cpp \
|
||||||
|
SBMemoryRegionInfo.cpp \
|
||||||
|
SBMemoryRegionInfoList.cpp \
|
||||||
SBModule.cpp \
|
SBModule.cpp \
|
||||||
SBModuleSpec.cpp \
|
SBModuleSpec.cpp \
|
||||||
SBPlatform.cpp \
|
SBPlatform.cpp \
|
||||||
@ -47,9 +49,9 @@ SRCS= SBAddress.cpp \
|
|||||||
SBSymbolContext.cpp \
|
SBSymbolContext.cpp \
|
||||||
SBSymbolContextList.cpp \
|
SBSymbolContextList.cpp \
|
||||||
SBTarget.cpp \
|
SBTarget.cpp \
|
||||||
|
SBThread.cpp \
|
||||||
SBThreadCollection.cpp \
|
SBThreadCollection.cpp \
|
||||||
SBThreadPlan.cpp \
|
SBThreadPlan.cpp \
|
||||||
SBThread.cpp \
|
|
||||||
SBType.cpp \
|
SBType.cpp \
|
||||||
SBTypeCategory.cpp \
|
SBTypeCategory.cpp \
|
||||||
SBTypeEnumMember.cpp \
|
SBTypeEnumMember.cpp \
|
||||||
@ -60,8 +62,8 @@ SRCS= SBAddress.cpp \
|
|||||||
SBTypeSynthetic.cpp \
|
SBTypeSynthetic.cpp \
|
||||||
SBUnixSignals.cpp \
|
SBUnixSignals.cpp \
|
||||||
SBValue.cpp \
|
SBValue.cpp \
|
||||||
SBVariablesOptions.cpp \
|
|
||||||
SBValueList.cpp \
|
SBValueList.cpp \
|
||||||
|
SBVariablesOptions.cpp \
|
||||||
SBWatchpoint.cpp \
|
SBWatchpoint.cpp \
|
||||||
SystemInitializerFull.cpp
|
SystemInitializerFull.cpp
|
||||||
|
|
||||||
|
@ -60,9 +60,10 @@ SRCS= Address.cpp \
|
|||||||
StringList.cpp \
|
StringList.cpp \
|
||||||
StructuredData.cpp \
|
StructuredData.cpp \
|
||||||
Timer.cpp \
|
Timer.cpp \
|
||||||
|
UUID.cpp \
|
||||||
UserID.cpp \
|
UserID.cpp \
|
||||||
UserSettingsController.cpp \
|
UserSettingsController.cpp \
|
||||||
UUID.cpp \
|
VMRange.cpp \
|
||||||
Value.cpp \
|
Value.cpp \
|
||||||
ValueObject.cpp \
|
ValueObject.cpp \
|
||||||
ValueObjectCast.cpp \
|
ValueObjectCast.cpp \
|
||||||
@ -76,8 +77,7 @@ SRCS= Address.cpp \
|
|||||||
ValueObjectMemory.cpp \
|
ValueObjectMemory.cpp \
|
||||||
ValueObjectRegister.cpp \
|
ValueObjectRegister.cpp \
|
||||||
ValueObjectSyntheticFilter.cpp \
|
ValueObjectSyntheticFilter.cpp \
|
||||||
ValueObjectVariable.cpp \
|
ValueObjectVariable.cpp
|
||||||
VMRange.cpp
|
|
||||||
|
|
||||||
TGHDRS= AttrList \
|
TGHDRS= AttrList \
|
||||||
Attrs \
|
Attrs \
|
||||||
|
@ -6,6 +6,7 @@ LIB= lldbExpression
|
|||||||
|
|
||||||
SRCDIR= tools/lldb/source/Expression
|
SRCDIR= tools/lldb/source/Expression
|
||||||
SRCS= DWARFExpression.cpp \
|
SRCS= DWARFExpression.cpp \
|
||||||
|
DiagnosticManager.cpp \
|
||||||
Expression.cpp \
|
Expression.cpp \
|
||||||
ExpressionSourceCode.cpp \
|
ExpressionSourceCode.cpp \
|
||||||
ExpressionVariable.cpp \
|
ExpressionVariable.cpp \
|
||||||
|
@ -8,6 +8,7 @@ SRCDIR= tools/lldb/source/Host/common
|
|||||||
SRCS= Condition.cpp \
|
SRCS= Condition.cpp \
|
||||||
Editline.cpp \
|
Editline.cpp \
|
||||||
File.cpp \
|
File.cpp \
|
||||||
|
FileCache.cpp \
|
||||||
FileSpec.cpp \
|
FileSpec.cpp \
|
||||||
FileSystem.cpp \
|
FileSystem.cpp \
|
||||||
GetOptInc.cpp \
|
GetOptInc.cpp \
|
||||||
@ -20,7 +21,13 @@ SRCS= Condition.cpp \
|
|||||||
LockFileBase.cpp \
|
LockFileBase.cpp \
|
||||||
MonitoringProcessLauncher.cpp \
|
MonitoringProcessLauncher.cpp \
|
||||||
Mutex.cpp \
|
Mutex.cpp \
|
||||||
|
NativeBreakpoint.cpp \
|
||||||
|
NativeBreakpointList.cpp \
|
||||||
|
NativeProcessProtocol.cpp \
|
||||||
NativeRegisterContext.cpp \
|
NativeRegisterContext.cpp \
|
||||||
|
NativeRegisterContextRegisterInfo.cpp \
|
||||||
|
NativeThreadProtocol.cpp \
|
||||||
|
NativeWatchpointList.cpp \
|
||||||
OptionParser.cpp \
|
OptionParser.cpp \
|
||||||
PipeBase.cpp \
|
PipeBase.cpp \
|
||||||
ProcessRunLock.cpp \
|
ProcessRunLock.cpp \
|
||||||
@ -34,8 +41,8 @@ SRCS= Condition.cpp \
|
|||||||
ThisThread.cpp \
|
ThisThread.cpp \
|
||||||
ThreadLauncher.cpp \
|
ThreadLauncher.cpp \
|
||||||
TimeValue.cpp \
|
TimeValue.cpp \
|
||||||
XML.cpp \
|
UDPSocket.cpp \
|
||||||
UDPSocket.cpp
|
XML.cpp
|
||||||
|
|
||||||
TGHDRS= AttrList \
|
TGHDRS= AttrList \
|
||||||
Attrs \
|
Attrs \
|
||||||
|
@ -12,6 +12,7 @@ SRCS= ConnectionFileDescriptorPosix.cpp \
|
|||||||
HostProcessPosix.cpp \
|
HostProcessPosix.cpp \
|
||||||
HostThreadPosix.cpp \
|
HostThreadPosix.cpp \
|
||||||
LockFilePosix.cpp \
|
LockFilePosix.cpp \
|
||||||
|
MainLoopPosix.cpp \
|
||||||
PipePosix.cpp \
|
PipePosix.cpp \
|
||||||
ProcessLauncherPosix.cpp
|
ProcessLauncherPosix.cpp
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ LIB= lldbInterpreter
|
|||||||
|
|
||||||
SRCDIR= tools/lldb/source/Interpreter
|
SRCDIR= tools/lldb/source/Interpreter
|
||||||
SRCS= Args.cpp \
|
SRCS= Args.cpp \
|
||||||
|
CommandAlias.cpp \
|
||||||
CommandHistory.cpp \
|
CommandHistory.cpp \
|
||||||
CommandInterpreter.cpp \
|
CommandInterpreter.cpp \
|
||||||
CommandObject.cpp \
|
CommandObject.cpp \
|
||||||
@ -23,6 +24,8 @@ SRCS= Args.cpp \
|
|||||||
OptionGroupUInt64.cpp \
|
OptionGroupUInt64.cpp \
|
||||||
OptionGroupUUID.cpp \
|
OptionGroupUUID.cpp \
|
||||||
OptionGroupValueObjectDisplay.cpp \
|
OptionGroupValueObjectDisplay.cpp \
|
||||||
|
OptionGroupVariable.cpp \
|
||||||
|
OptionGroupWatchpoint.cpp \
|
||||||
OptionValue.cpp \
|
OptionValue.cpp \
|
||||||
OptionValueArch.cpp \
|
OptionValueArch.cpp \
|
||||||
OptionValueArgs.cpp \
|
OptionValueArgs.cpp \
|
||||||
@ -43,8 +46,6 @@ SRCS= Args.cpp \
|
|||||||
OptionValueString.cpp \
|
OptionValueString.cpp \
|
||||||
OptionValueUInt64.cpp \
|
OptionValueUInt64.cpp \
|
||||||
OptionValueUUID.cpp \
|
OptionValueUUID.cpp \
|
||||||
OptionGroupVariable.cpp \
|
|
||||||
OptionGroupWatchpoint.cpp \
|
|
||||||
Options.cpp \
|
Options.cpp \
|
||||||
Property.cpp \
|
Property.cpp \
|
||||||
ScriptInterpreter.cpp
|
ScriptInterpreter.cpp
|
||||||
|
@ -2,12 +2,14 @@
|
|||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= lldbPluginLanguageCPlusPlus
|
LIB= lldbPluginCPlusPlusLanguage
|
||||||
|
|
||||||
SRCDIR= tools/lldb/source/Plugins/Language/CPlusPlus/
|
SRCDIR= tools/lldb/source/Plugins/Language/CPlusPlus
|
||||||
SRCS= CPlusPlusLanguage.cpp \
|
SRCS= BlockPointer.cpp \
|
||||||
|
CPlusPlusLanguage.cpp \
|
||||||
CxxStringTypes.cpp \
|
CxxStringTypes.cpp \
|
||||||
LibCxx.cpp \
|
LibCxx.cpp \
|
||||||
|
LibCxxAtomic.cpp \
|
||||||
LibCxxInitializerList.cpp \
|
LibCxxInitializerList.cpp \
|
||||||
LibCxxList.cpp \
|
LibCxxList.cpp \
|
||||||
LibCxxMap.cpp \
|
LibCxxMap.cpp \
|
||||||
@ -15,7 +17,9 @@ SRCS= CPlusPlusLanguage.cpp \
|
|||||||
LibCxxVector.cpp \
|
LibCxxVector.cpp \
|
||||||
LibStdcpp.cpp
|
LibStdcpp.cpp
|
||||||
|
|
||||||
TGHDRS= CommentCommandList \
|
TGHDRS= AttrList \
|
||||||
|
Attrs \
|
||||||
|
CommentCommandList \
|
||||||
DeclNodes \
|
DeclNodes \
|
||||||
DiagnosticCommonKinds \
|
DiagnosticCommonKinds \
|
||||||
StmtNodes
|
StmtNodes
|
@ -25,6 +25,7 @@ TGHDRS= Attributes \
|
|||||||
Attrs \
|
Attrs \
|
||||||
CommentCommandList \
|
CommentCommandList \
|
||||||
DeclNodes \
|
DeclNodes \
|
||||||
|
DiagnosticASTKinds \
|
||||||
DiagnosticCommonKinds \
|
DiagnosticCommonKinds \
|
||||||
DiagnosticFrontendKinds \
|
DiagnosticFrontendKinds \
|
||||||
DiagnosticSemaKinds \
|
DiagnosticSemaKinds \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= lldbPluginLanguageObjC
|
LIB= lldbPluginObjCLanguage
|
||||||
|
|
||||||
SRCDIR= tools/lldb/source/Plugins/Language/ObjC/
|
SRCDIR= tools/lldb/source/Plugins/Language/ObjC/
|
||||||
SRCS= CF.cpp \
|
SRCS= CF.cpp \
|
@ -9,13 +9,13 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti
|
|||||||
|
|
||||||
SRCDIR= tools/lldb/source/Plugins/Process/elf-core
|
SRCDIR= tools/lldb/source/Plugins/Process/elf-core
|
||||||
SRCS= ProcessElfCore.cpp \
|
SRCS= ProcessElfCore.cpp \
|
||||||
ThreadElfCore.cpp \
|
|
||||||
RegisterContextPOSIXCore_arm.cpp \
|
RegisterContextPOSIXCore_arm.cpp \
|
||||||
RegisterContextPOSIXCore_arm64.cpp \
|
RegisterContextPOSIXCore_arm64.cpp \
|
||||||
RegisterContextPOSIXCore_mips64.cpp \
|
RegisterContextPOSIXCore_mips64.cpp \
|
||||||
RegisterContextPOSIXCore_powerpc.cpp \
|
RegisterContextPOSIXCore_powerpc.cpp \
|
||||||
RegisterContextPOSIXCore_x86_64.cpp
|
RegisterContextPOSIXCore_x86_64.cpp \
|
||||||
|
ThreadElfCore.cpp
|
||||||
|
|
||||||
TGHDRS= DiagnosticCommonKinds \
|
TGHDRS= DiagnosticCommonKinds \
|
||||||
DeclNodes \
|
DeclNodes \
|
||||||
StmtNodes \
|
StmtNodes \
|
||||||
|
@ -11,9 +11,9 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Uti
|
|||||||
|
|
||||||
SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD
|
SRCDIR= tools/lldb/source/Plugins/Process/FreeBSD
|
||||||
SRCS= FreeBSDThread.cpp \
|
SRCS= FreeBSDThread.cpp \
|
||||||
|
POSIXStopInfo.cpp \
|
||||||
ProcessFreeBSD.cpp \
|
ProcessFreeBSD.cpp \
|
||||||
ProcessMonitor.cpp \
|
ProcessMonitor.cpp \
|
||||||
POSIXStopInfo.cpp \
|
|
||||||
RegisterContextPOSIXProcessMonitor_arm.cpp \
|
RegisterContextPOSIXProcessMonitor_arm.cpp \
|
||||||
RegisterContextPOSIXProcessMonitor_arm64.cpp \
|
RegisterContextPOSIXProcessMonitor_arm64.cpp \
|
||||||
RegisterContextPOSIXProcessMonitor_mips64.cpp \
|
RegisterContextPOSIXProcessMonitor_mips64.cpp \
|
||||||
|
@ -26,16 +26,16 @@ SRCS= DynamicRegisterInfo.cpp \
|
|||||||
RegisterContextFreeBSD_powerpc.cpp \
|
RegisterContextFreeBSD_powerpc.cpp \
|
||||||
RegisterContextFreeBSD_x86_64.cpp \
|
RegisterContextFreeBSD_x86_64.cpp \
|
||||||
RegisterContextHistory.cpp \
|
RegisterContextHistory.cpp \
|
||||||
|
RegisterContextLLDB.cpp \
|
||||||
RegisterContextLinux_arm.cpp \
|
RegisterContextLinux_arm.cpp \
|
||||||
RegisterContextLinux_arm64.cpp \
|
RegisterContextLinux_arm64.cpp \
|
||||||
RegisterContextLinux_i386.cpp \
|
RegisterContextLinux_i386.cpp \
|
||||||
RegisterContextLinux_mips.cpp \
|
RegisterContextLinux_mips.cpp \
|
||||||
RegisterContextLinux_x86_64.cpp \
|
RegisterContextLinux_x86_64.cpp \
|
||||||
RegisterContextLLDB.cpp \
|
RegisterContextMacOSXFrameBackchain.cpp \
|
||||||
RegisterContextMach_arm.cpp \
|
RegisterContextMach_arm.cpp \
|
||||||
RegisterContextMach_i386.cpp \
|
RegisterContextMach_i386.cpp \
|
||||||
RegisterContextMach_x86_64.cpp \
|
RegisterContextMach_x86_64.cpp \
|
||||||
RegisterContextMacOSXFrameBackchain.cpp \
|
|
||||||
RegisterContextMemory.cpp \
|
RegisterContextMemory.cpp \
|
||||||
RegisterContextPOSIX_arm.cpp \
|
RegisterContextPOSIX_arm.cpp \
|
||||||
RegisterContextPOSIX_arm64.cpp \
|
RegisterContextPOSIX_arm64.cpp \
|
||||||
|
@ -6,35 +6,35 @@ LIB= lldbPluginSymbolFileDWARF
|
|||||||
|
|
||||||
SRCDIR= tools/lldb/source/Plugins/SymbolFile/DWARF
|
SRCDIR= tools/lldb/source/Plugins/SymbolFile/DWARF
|
||||||
SRCS= DIERef.cpp \
|
SRCS= DIERef.cpp \
|
||||||
DWARFAbbreviationDeclaration.cpp \
|
|
||||||
DWARFASTParserClang.cpp \
|
DWARFASTParserClang.cpp \
|
||||||
DWARFASTParserGo.cpp \
|
DWARFASTParserGo.cpp \
|
||||||
|
DWARFAbbreviationDeclaration.cpp \
|
||||||
DWARFAttribute.cpp \
|
DWARFAttribute.cpp \
|
||||||
DWARFCompileUnit.cpp \
|
DWARFCompileUnit.cpp \
|
||||||
|
DWARFDIE.cpp \
|
||||||
|
DWARFDIECollection.cpp \
|
||||||
DWARFDataExtractor.cpp \
|
DWARFDataExtractor.cpp \
|
||||||
DWARFDebugAbbrev.cpp \
|
DWARFDebugAbbrev.cpp \
|
||||||
DWARFDebugAranges.cpp \
|
|
||||||
DWARFDebugArangeSet.cpp \
|
DWARFDebugArangeSet.cpp \
|
||||||
|
DWARFDebugAranges.cpp \
|
||||||
DWARFDebugInfo.cpp \
|
DWARFDebugInfo.cpp \
|
||||||
DWARFDebugInfoEntry.cpp \
|
DWARFDebugInfoEntry.cpp \
|
||||||
DWARFDebugMacro.cpp \
|
|
||||||
DWARFDebugLine.cpp \
|
DWARFDebugLine.cpp \
|
||||||
DWARFDebugMacinfo.cpp \
|
DWARFDebugMacinfo.cpp \
|
||||||
DWARFDebugMacinfoEntry.cpp \
|
DWARFDebugMacinfoEntry.cpp \
|
||||||
|
DWARFDebugMacro.cpp \
|
||||||
DWARFDebugPubnames.cpp \
|
DWARFDebugPubnames.cpp \
|
||||||
DWARFDebugPubnamesSet.cpp \
|
DWARFDebugPubnamesSet.cpp \
|
||||||
DWARFDebugRanges.cpp \
|
DWARFDebugRanges.cpp \
|
||||||
DWARFDeclContext.cpp \
|
DWARFDeclContext.cpp \
|
||||||
DWARFDefines.cpp \
|
DWARFDefines.cpp \
|
||||||
DWARFDIE.cpp \
|
|
||||||
DWARFDIECollection.cpp \
|
|
||||||
DWARFFormValue.cpp \
|
DWARFFormValue.cpp \
|
||||||
LogChannelDWARF.cpp \
|
|
||||||
HashedNameToDIE.cpp \
|
HashedNameToDIE.cpp \
|
||||||
|
LogChannelDWARF.cpp \
|
||||||
NameToDIE.cpp \
|
NameToDIE.cpp \
|
||||||
SymbolFileDWARF.cpp \
|
SymbolFileDWARF.cpp \
|
||||||
SymbolFileDWARFDwo.cpp \
|
|
||||||
SymbolFileDWARFDebugMap.cpp \
|
SymbolFileDWARFDebugMap.cpp \
|
||||||
|
SymbolFileDWARFDwo.cpp \
|
||||||
UniqueDWARFASTType.cpp
|
UniqueDWARFASTType.cpp
|
||||||
|
|
||||||
TGHDRS= AttrList \
|
TGHDRS= AttrList \
|
||||||
|
18
lib/clang/liblldbPluginSymbolFilePDB/Makefile
Normal file
18
lib/clang/liblldbPluginSymbolFilePDB/Makefile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
LIB= lldbPluginSymbolFilePDB
|
||||||
|
|
||||||
|
SRCDIR= tools/lldb/source/Plugins/SymbolFile/PDB
|
||||||
|
SRCS= PDBASTParser.cpp \
|
||||||
|
SymbolFilePDB.cpp
|
||||||
|
|
||||||
|
TGHDRS= AttrList \
|
||||||
|
Attrs \
|
||||||
|
CommentCommandList \
|
||||||
|
DeclNodes \
|
||||||
|
DiagnosticCommonKinds \
|
||||||
|
StmtNodes
|
||||||
|
|
||||||
|
.include "../lldb.lib.mk"
|
@ -11,16 +11,17 @@ SRCS= ArmUnwindInfo.cpp \
|
|||||||
ClangASTImporter.cpp \
|
ClangASTImporter.cpp \
|
||||||
ClangExternalASTSourceCallbacks.cpp \
|
ClangExternalASTSourceCallbacks.cpp \
|
||||||
ClangExternalASTSourceCommon.cpp \
|
ClangExternalASTSourceCommon.cpp \
|
||||||
|
ClangUtil.cpp \
|
||||||
|
CompactUnwindInfo.cpp \
|
||||||
|
CompileUnit.cpp \
|
||||||
CompilerDecl.cpp \
|
CompilerDecl.cpp \
|
||||||
CompilerDeclContext.cpp \
|
CompilerDeclContext.cpp \
|
||||||
CompilerType.cpp \
|
CompilerType.cpp \
|
||||||
CompactUnwindInfo.cpp \
|
|
||||||
DebugMacros.cpp \
|
|
||||||
CompileUnit.cpp \
|
|
||||||
Declaration.cpp \
|
|
||||||
DWARFCallFrameInfo.cpp \
|
DWARFCallFrameInfo.cpp \
|
||||||
Function.cpp \
|
DebugMacros.cpp \
|
||||||
|
Declaration.cpp \
|
||||||
FuncUnwinders.cpp \
|
FuncUnwinders.cpp \
|
||||||
|
Function.cpp \
|
||||||
GoASTContext.cpp \
|
GoASTContext.cpp \
|
||||||
LineEntry.cpp \
|
LineEntry.cpp \
|
||||||
LineTable.cpp \
|
LineTable.cpp \
|
||||||
|
@ -23,62 +23,61 @@ LIBADD+= edit panel ncursesw execinfo z
|
|||||||
|
|
||||||
LLDB_LIBS=\
|
LLDB_LIBS=\
|
||||||
lldb \
|
lldb \
|
||||||
\
|
|
||||||
lldbAPI \
|
lldbAPI \
|
||||||
lldbBreakpoint \
|
lldbBreakpoint \
|
||||||
lldbCommands \
|
lldbCommands \
|
||||||
lldbCore \
|
|
||||||
lldbDataFormatters \
|
lldbDataFormatters \
|
||||||
lldbExpression \
|
|
||||||
lldbHostFreeBSD \
|
|
||||||
lldbHostCommon \
|
lldbHostCommon \
|
||||||
|
lldbHostFreeBSD \
|
||||||
lldbHostPOSIX \
|
lldbHostPOSIX \
|
||||||
|
lldbCore \
|
||||||
|
lldbExpression \
|
||||||
lldbInitialization \
|
lldbInitialization \
|
||||||
lldbInterpreter \
|
lldbInterpreter \
|
||||||
lldbSymbol \
|
lldbSymbol \
|
||||||
lldbTarget \
|
lldbTarget \
|
||||||
lldbUtility \
|
lldbUtility \
|
||||||
\
|
\
|
||||||
|
lldbPluginDisassemblerLLVM \
|
||||||
|
lldbPluginSymbolFileDWARF \
|
||||||
|
lldbPluginSymbolFilePDB \
|
||||||
|
lldbPluginSymbolFileSymtab \
|
||||||
|
lldbPluginDynamicLoaderStatic \
|
||||||
|
lldbPluginDynamicLoaderPosixDYLD \
|
||||||
|
lldbPluginCPlusPlusLanguage \
|
||||||
|
lldbPluginObjCLanguage \
|
||||||
|
lldbPluginObjectFileELF \
|
||||||
|
lldbPluginObjectFileJIT \
|
||||||
|
lldbPluginSymbolVendorELF \
|
||||||
|
lldbPluginProcessGDBRemote \
|
||||||
|
lldbPluginProcessUtility \
|
||||||
|
lldbPluginPlatformGDB \
|
||||||
|
lldbPluginPlatformFreeBSD \
|
||||||
|
lldbPluginObjectContainerBSDArchive \
|
||||||
|
lldbPluginUnwindAssemblyInstEmulation \
|
||||||
|
lldbPluginUnwindAssemblyX86 \
|
||||||
|
lldbPluginCXXItaniumABI \
|
||||||
lldbPluginABISysV_arm \
|
lldbPluginABISysV_arm \
|
||||||
lldbPluginABISysV_arm64 \
|
lldbPluginABISysV_arm64 \
|
||||||
lldbPluginABISysV_i386 \
|
lldbPluginABISysV_i386 \
|
||||||
lldbPluginABISysV_mips \
|
lldbPluginABISysV_x86_64 \
|
||||||
lldbPluginABISysV_mips64 \
|
|
||||||
lldbPluginABISysV_ppc \
|
lldbPluginABISysV_ppc \
|
||||||
lldbPluginABISysV_ppc64 \
|
lldbPluginABISysV_ppc64 \
|
||||||
lldbPluginABISysV_x86_64 \
|
lldbPluginABISysV_mips \
|
||||||
lldbPluginCXXItaniumABI \
|
lldbPluginABISysV_mips64 \
|
||||||
lldbPluginDisassemblerLLVM \
|
|
||||||
lldbPluginExpressionParserClang \
|
|
||||||
lldbPluginExpressionParserGo \
|
|
||||||
lldbPluginInstructionARM \
|
lldbPluginInstructionARM \
|
||||||
lldbPluginInstructionARM64 \
|
lldbPluginInstructionARM64 \
|
||||||
lldbPluginInstructionMIPS \
|
lldbPluginInstructionMIPS \
|
||||||
lldbPluginInstructionMIPS64 \
|
lldbPluginInstructionMIPS64 \
|
||||||
lldbPluginInstrumentationRuntimeAddressSanitizer \
|
|
||||||
lldbPluginJITLoaderGDB \
|
|
||||||
lldbPluginLanguageCPlusPlus \
|
|
||||||
lldbPluginLanguageObjC \
|
|
||||||
lldbPluginSymbolFileDWARF \
|
|
||||||
lldbPluginSymbolFileSymtab \
|
|
||||||
lldbPluginDynamicLoaderStatic \
|
|
||||||
lldbPluginDynamicLoaderPosixDYLD \
|
|
||||||
lldbPluginMemoryHistoryASan \
|
lldbPluginMemoryHistoryASan \
|
||||||
lldbPluginObjectContainerBSDArchive \
|
lldbPluginInstrumentationRuntimeAddressSanitizer \
|
||||||
lldbPluginObjectFileELF \
|
|
||||||
lldbPluginObjectFileJIT \
|
|
||||||
lldbPluginScriptInterpreterNone \
|
|
||||||
lldbPluginSymbolVendorELF \
|
|
||||||
lldbPluginPlatformFreeBSD \
|
|
||||||
lldbPluginPlatformGDB \
|
|
||||||
lldbPluginProcessElfCore \
|
lldbPluginProcessElfCore \
|
||||||
|
lldbPluginJITLoaderGDB \
|
||||||
|
lldbPluginExpressionParserClang \
|
||||||
|
lldbPluginExpressionParserGo \
|
||||||
lldbPluginProcessFreeBSD \
|
lldbPluginProcessFreeBSD \
|
||||||
lldbPluginProcessGDBRemote \
|
|
||||||
lldbPluginProcessUtility \
|
|
||||||
lldbPluginProcessPOSIX \
|
lldbPluginProcessPOSIX \
|
||||||
lldbPluginProcessFreeBSD \
|
lldbPluginScriptInterpreterNone
|
||||||
lldbPluginUnwindAssemblyInstEmulation \
|
|
||||||
lldbPluginUnwindAssemblyX86
|
|
||||||
|
|
||||||
LDADD+= -Wl,--start-group
|
LDADD+= -Wl,--start-group
|
||||||
.for lib in ${LLDB_LIBS}
|
.for lib in ${LLDB_LIBS}
|
||||||
@ -89,82 +88,88 @@ LDADD+= -Wl,--end-group
|
|||||||
|
|
||||||
# Clang and LLVM libraries
|
# Clang and LLVM libraries
|
||||||
LIBDEPS=\
|
LIBDEPS=\
|
||||||
|
clangcodegen \
|
||||||
|
clangrewritefrontend \
|
||||||
|
llvmaarch64codegen \
|
||||||
|
llvmaarch64asmparser \
|
||||||
|
llvmaarch64disassembler \
|
||||||
|
llvmarmcodegen \
|
||||||
|
llvmarmasmparser \
|
||||||
|
llvmarmdisassembler \
|
||||||
|
llvmmipscodegen \
|
||||||
|
llvmmipsasmparser \
|
||||||
|
llvmmipsdesc \
|
||||||
|
llvmmipsdisassembler \
|
||||||
|
llvmpowerpccodegen \
|
||||||
|
llvmpowerpcasmparser \
|
||||||
|
llvmpowerpcdesc \
|
||||||
|
llvmpowerpcdisassembler \
|
||||||
|
llvmsparccodegen \
|
||||||
|
llvmsparcasmparser \
|
||||||
|
llvmsparcdesc \
|
||||||
|
llvmsparcdisassembler \
|
||||||
|
llvmx86codegen \
|
||||||
|
llvmx86asmparser \
|
||||||
|
llvmx86desc \
|
||||||
|
llvmx86disassembler \
|
||||||
|
llvminterpreter \
|
||||||
|
llvmipo \
|
||||||
|
llvmselectiondag \
|
||||||
|
llvmmcjit \
|
||||||
|
llvmexecutionengine \
|
||||||
|
llvmruntimedyld \
|
||||||
|
llvmcoverage \
|
||||||
|
llvmglobalisel \
|
||||||
|
llvmaarch64desc \
|
||||||
|
llvmaarch64asmprinter \
|
||||||
|
llvmaarch64info \
|
||||||
|
llvmaarch64utils \
|
||||||
|
llvmarmdesc \
|
||||||
|
llvmarmasmprinter \
|
||||||
|
llvmarminfo \
|
||||||
|
llvmmipsasmprinter \
|
||||||
|
llvmmipsinfo \
|
||||||
|
llvmpowerpcasmprinter \
|
||||||
|
llvmpowerpcinfo \
|
||||||
|
llvmsparcasmprinter \
|
||||||
|
llvmsparcinfo \
|
||||||
|
llvmasmprinter \
|
||||||
|
llvmx86asmprinter \
|
||||||
|
llvmx86utils \
|
||||||
|
llvmx86info \
|
||||||
|
llvmmcdisassembler \
|
||||||
|
llvmcodegen \
|
||||||
|
llvmdebuginfopdb \
|
||||||
|
llvmdebuginfocodeview \
|
||||||
|
llvmbitwriter \
|
||||||
|
llvmvectorize \
|
||||||
|
llvmscalaropts \
|
||||||
|
llvmtarget \
|
||||||
|
llvmobject \
|
||||||
|
llvminstrumentation \
|
||||||
|
llvmirreader \
|
||||||
|
llvmasmparser \
|
||||||
|
llvminstcombine \
|
||||||
|
llvmlinker \
|
||||||
|
llvmobjcarcopts \
|
||||||
|
llvmtransformutils \
|
||||||
|
llvmanalysis \
|
||||||
clangfrontend \
|
clangfrontend \
|
||||||
clangdriver \
|
clangdriver \
|
||||||
clangserialization \
|
llvmoption \
|
||||||
clangcodegen \
|
|
||||||
clangparse \
|
clangparse \
|
||||||
|
llvmmcparser \
|
||||||
|
clangserialization \
|
||||||
|
llvmbitreader \
|
||||||
clangsema \
|
clangsema \
|
||||||
clanganalysis \
|
clanganalysis \
|
||||||
clangedit \
|
clangedit \
|
||||||
clangast \
|
clangast \
|
||||||
|
llvmprofiledata \
|
||||||
|
clangrewrite \
|
||||||
clanglex \
|
clanglex \
|
||||||
clangbasic \
|
clangbasic \
|
||||||
\
|
|
||||||
llvmoption \
|
|
||||||
llvmobjcarcopts \
|
|
||||||
llvmlinker \
|
|
||||||
llvmmcjit \
|
|
||||||
llvmruntimedyld \
|
|
||||||
llvmexecutionengine \
|
|
||||||
llvmirreader \
|
|
||||||
llvmipo \
|
|
||||||
llvmvectorize \
|
|
||||||
llvmbitwriter \
|
|
||||||
llvmasmparser \
|
|
||||||
llvmaarch64disassembler \
|
|
||||||
llvmaarch64codegen \
|
|
||||||
llvmaarch64asmparser \
|
|
||||||
llvmaarch64desc \
|
|
||||||
llvmaarch64info \
|
|
||||||
llvmaarch64asmprinter \
|
|
||||||
llvmaarch64utils \
|
|
||||||
llvmarmdisassembler \
|
|
||||||
llvmarmcodegen \
|
|
||||||
llvmarmasmparser \
|
|
||||||
llvmarmdesc \
|
|
||||||
llvmarminfo \
|
|
||||||
llvmarmasmprinter \
|
|
||||||
llvmmipsdisassembler \
|
|
||||||
llvmmipscodegen \
|
|
||||||
llvmmipsasmparser \
|
|
||||||
llvmmipsdesc \
|
|
||||||
llvmmipsinfo \
|
|
||||||
llvmmipsasmprinter \
|
|
||||||
llvmpowerpcdisassembler \
|
|
||||||
llvmpowerpccodegen \
|
|
||||||
llvmpowerpcasmparser \
|
|
||||||
llvmpowerpcdesc \
|
|
||||||
llvmpowerpcinfo \
|
|
||||||
llvmpowerpcasmprinter \
|
|
||||||
llvmsparcdisassembler \
|
|
||||||
llvmsparccodegen \
|
|
||||||
llvmsparcasmparser \
|
|
||||||
llvmsparcdesc \
|
|
||||||
llvmsparcinfo \
|
|
||||||
llvmsparcasmprinter \
|
|
||||||
llvmx86disassembler \
|
|
||||||
llvmx86asmparser \
|
|
||||||
llvmx86codegen \
|
|
||||||
llvmselectiondag \
|
|
||||||
llvmasmprinter \
|
|
||||||
llvmcodegen \
|
|
||||||
llvmtarget \
|
|
||||||
llvmscalaropts \
|
|
||||||
llvmprofiledata \
|
|
||||||
llvminstcombine \
|
|
||||||
llvmtransformutils \
|
|
||||||
llvmanalysis \
|
|
||||||
llvminstrumentation \
|
|
||||||
llvmx86desc \
|
|
||||||
llvmobject \
|
|
||||||
llvmmcparser \
|
|
||||||
llvmbitreader \
|
|
||||||
llvmmcdisassembler \
|
|
||||||
llvmx86info \
|
|
||||||
llvmx86asmprinter \
|
|
||||||
llvmmc \
|
llvmmc \
|
||||||
llvmx86utils \
|
|
||||||
llvmcore \
|
llvmcore \
|
||||||
llvmsupport
|
llvmsupport
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user