Skip to content

Commit e508545

Browse files
committed
[lldb][NFC] Use UnixSignal::CreateForHost in Process
These do the same thing but we have a specific function for it.
1 parent 7de7751 commit e508545

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Target/Process.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ ConstString &Process::GetStaticBroadcasterClass() {
402402
}
403403

404404
Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp)
405-
: Process(target_sp, listener_sp,
406-
UnixSignals::Create(HostInfo::GetArchitecture())) {
405+
: Process(target_sp, listener_sp, UnixSignals::CreateForHost()) {
407406
// This constructor just delegates to the full Process constructor,
408407
// defaulting to using the Host's UnixSignals.
409408
}

0 commit comments

Comments
 (0)