[Lldb-commits] [lldb] e508545 - [lldb][NFC] Use UnixSignal::CreateForHost in Process
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 10 16:59:50 PST 2023
Author: Alex Langford
Date: 2023-03-10T16:58:14-08:00
New Revision: e5085457ecc44418fab73de3b535961eac06c7a2
URL: https://github.com/llvm/llvm-project/commit/e5085457ecc44418fab73de3b535961eac06c7a2
DIFF: https://github.com/llvm/llvm-project/commit/e5085457ecc44418fab73de3b535961eac06c7a2.diff
LOG: [lldb][NFC] Use UnixSignal::CreateForHost in Process
These do the same thing but we have a specific function for it.
Added:
Modified:
lldb/source/Target/Process.cpp
Removed:
################################################################################
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 8bfebe3c8ff6a..77ee27687fefb 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -402,8 +402,7 @@ ConstString &Process::GetStaticBroadcasterClass() {
}
Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp)
- : Process(target_sp, listener_sp,
- UnixSignals::Create(HostInfo::GetArchitecture())) {
+ : Process(target_sp, listener_sp, UnixSignals::CreateForHost()) {
// This constructor just delegates to the full Process constructor,
// defaulting to using the Host's UnixSignals.
}
More information about the lldb-commits
mailing list