diff options
Diffstat (limited to 'source/Target/StopInfo.cpp')
-rw-r--r-- | source/Target/StopInfo.cpp | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/source/Target/StopInfo.cpp b/source/Target/StopInfo.cpp index 4e13c588b484..6db0c2b037e9 100644 --- a/source/Target/StopInfo.cpp +++ b/source/Target/StopInfo.cpp @@ -1,9 +1,8 @@ //===-- StopInfo.cpp --------------------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -79,9 +78,7 @@ bool StopInfo::HasTargetRunSinceMe() { return false; } -//---------------------------------------------------------------------- // StopInfoBreakpoint -//---------------------------------------------------------------------- namespace lldb_private { class StopInfoBreakpoint : public StopInfo { @@ -576,9 +573,7 @@ private: bool m_was_one_shot; }; -//---------------------------------------------------------------------- // StopInfoWatchpoint -//---------------------------------------------------------------------- class StopInfoWatchpoint : public StopInfo { public: @@ -913,9 +908,7 @@ private: lldb::addr_t m_watch_hit_addr; }; -//---------------------------------------------------------------------- // StopInfoUnixSignal -//---------------------------------------------------------------------- class StopInfoUnixSignal : public StopInfo { public: @@ -990,9 +983,7 @@ public: } }; -//---------------------------------------------------------------------- // StopInfoTrace -//---------------------------------------------------------------------- class StopInfoTrace : public StopInfo { public: @@ -1010,9 +1001,7 @@ public: } }; -//---------------------------------------------------------------------- // StopInfoException -//---------------------------------------------------------------------- class StopInfoException : public StopInfo { public: @@ -1034,9 +1023,7 @@ public: } }; -//---------------------------------------------------------------------- // StopInfoThreadPlan -//---------------------------------------------------------------------- class StopInfoThreadPlan : public StopInfo { public: @@ -1079,9 +1066,7 @@ private: ExpressionVariableSP m_expression_variable_sp; }; -//---------------------------------------------------------------------- // StopInfoExec -//---------------------------------------------------------------------- class StopInfoExec : public StopInfo { public: @@ -1211,7 +1196,7 @@ StopInfo::GetCrashingDereference(StopInfoSP &stop_info_sp, address_loc += (sizeof(address_string) - 1); - uint64_t address = strtoull(address_loc, 0, 0); + uint64_t address = strtoull(address_loc, nullptr, 0); if (crashing_address) { *crashing_address = address; } |