Skip to content

Commit

Permalink
[lldb][NFC] Use UnixSignal::CreateForHost in Process
Browse files Browse the repository at this point in the history
These do the same thing but we have a specific function for it.
  • Loading branch information
bulbazord committed Mar 11, 2023
1 parent 7de7751 commit e508545
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lldb/source/Target/Process.cpp
Expand Up @@ -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.
}
Expand Down

0 comments on commit e508545

Please sign in to comment.