llvm-project/lldb/unittests
Alex Langford ee232506b8 [lldb] Move UnixSignals creation into Platform plugins
The high level goal of this change is to remove lldbTarget's dependency
on lldbPluginProcessUtility. The reason for this existing dependency is
so that we can create the appropriate UnixSignals object based on an
ArchSpec. Instead of using the ArchSpec, we can instead take advantage
of the Platform associated with the current Target.

This is accomplished by adding a new method to Platform,
CreateUnixSignals, which will create the correct UnixSignals object for
us. We then can use `Platform::GetUnixSignals` and rely on that to give
us the correct signals as needed.

Differential Revision: https://reviews.llvm.org/D146263
2023-03-20 15:41:06 -07:00
..
API
Breakpoint
Core [lldb] Fix -Wdangling-else warning in CommunicationTest 2023-03-08 22:21:00 -08:00
DataFormatter [lldb] Remove remaining uses of llvm::Optional (NFC) 2023-01-07 14:36:35 -08:00
debugserver
Disassembler
Editline
Expression [LLDB] Enable 64 bit debug/type offset 2023-02-22 11:34:00 -08:00
Host [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
Instruction [lldb] Fix typo in LoongArch unittest 2023-02-07 15:09:04 +08:00
Interpreter Revert "[lldb] Add Debugger & ScriptedMetadata reference to Platform::CreateInstance" 2023-01-13 09:13:03 -08:00
Language [lldb] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 14:18:35 -08:00
ObjectFile Remove unused #include "llvm/ADT/Optional.h" 2022-12-05 06:31:11 +00:00
Platform Revert "[lldb] Add Debugger & ScriptedMetadata reference to Platform::CreateInstance" 2023-01-13 09:13:03 -08:00
Process [lldb] Move UnixSignals creation into Platform plugins 2023-03-20 15:41:06 -07:00
ScriptInterpreter [lldb] Update PythonDataObjectsTests for new exception formatting 2023-03-15 15:53:18 -07:00
Signals [lldb] Implement CrashReason using UnixSignals 2023-03-20 11:39:32 +00:00
Symbol [lldb] Introduce new SymbolFileJSON and ObjectFileJSON 2023-03-08 20:56:11 -08:00
SymbolFile [LLDB] Enable 64 bit debug/type offset 2023-02-22 11:34:00 -08:00
Target [lldb] Move UnixSignals creation into Platform plugins 2023-03-20 15:41:06 -07:00
TestingSupport Use *{Map,Set}::contains (NFC) 2023-03-15 22:55:35 -07:00
Thread Revert "[lldb] Add Debugger & ScriptedMetadata reference to Platform::CreateInstance" 2023-01-13 09:13:03 -08:00
tools [lldb] Remove remaining uses of llvm::Optional (NFC) 2023-01-07 14:36:35 -08:00
UnwindAssembly
Utility [NFC][TargetParser] Remove llvm/ADT/Triple.h 2023-02-07 12:39:46 +00:00
CMakeLists.txt [lldb/unittests/CMakeLists.txt] Remove extra compiler flag -include gtest_common.h, NFC 2022-12-02 10:45:49 -08:00
gtest_common.h