diff options
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common')
3 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp index d0779548449..2283b5391f3 100644 --- a/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp @@ -410,7 +410,7 @@ void NativeProcessWindows::OnDebuggerConnected(lldb::addr_t image_base) { // The very first one shall always be the main thread. assert(m_threads.empty()); - m_threads.push_back(llvm::make_unique<NativeThreadWindows>( + m_threads.push_back(std::make_unique<NativeThreadWindows>( *this, m_session_data->m_debugger->GetMainThread())); } @@ -514,7 +514,7 @@ NativeProcessWindows::OnDebugException(bool first_chance, void NativeProcessWindows::OnCreateThread(const HostThread &new_thread) { llvm::sys::ScopedLock lock(m_mutex); m_threads.push_back( - llvm::make_unique<NativeThreadWindows>(*this, new_thread)); + std::make_unique<NativeThreadWindows>(*this, new_thread)); } void NativeProcessWindows::OnExitThread(lldb::tid_t thread_id, diff --git a/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp b/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp index c47995c8bdc..3de1470d231 100644 --- a/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp @@ -86,7 +86,7 @@ static Status SetThreadContextHelper(lldb::thread_t thread_handle, std::unique_ptr<NativeRegisterContextWindows> NativeRegisterContextWindows::CreateHostNativeRegisterContextWindows( const ArchSpec &target_arch, NativeThreadProtocol &native_thread) { - return llvm::make_unique<NativeRegisterContextWindows_i386>(target_arch, + return std::make_unique<NativeRegisterContextWindows_i386>(target_arch, native_thread); } diff --git a/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp b/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp index 41003cc6d64..95e8ce11dc7 100644 --- a/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp @@ -100,11 +100,11 @@ NativeRegisterContextWindows::CreateHostNativeRegisterContextWindows( const ArchSpec &target_arch, NativeThreadProtocol &native_thread) { // Register context for a WoW64 application. if (target_arch.GetAddressByteSize() == 4) - return llvm::make_unique<NativeRegisterContextWindows_WoW64>(target_arch, + return std::make_unique<NativeRegisterContextWindows_WoW64>(target_arch, native_thread); // Register context for a native 64-bit application. - return llvm::make_unique<NativeRegisterContextWindows_x86_64>(target_arch, + return std::make_unique<NativeRegisterContextWindows_x86_64>(target_arch, native_thread); } |