diff options
Diffstat (limited to 'lldb/source/Target/StopInfo.cpp')
| -rw-r--r-- | lldb/source/Target/StopInfo.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp index 28179b7e1ce0..7e830c6e2bed 100644 --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -1,4 +1,4 @@ -//===-- StopInfo.cpp --------------------------------------------*- C++ -*-===// +//===-- StopInfo.cpp ------------------------------------------------------===//  //  // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.  // See https://llvm.org/LICENSE.txt for license information. @@ -206,7 +206,7 @@ public:            strm.Printf("breakpoint ");            bp_site_sp->GetDescription(&strm, eDescriptionLevelBrief); -          m_description = strm.GetString(); +          m_description = std::string(strm.GetString());          } else {            StreamString strm;            if (m_break_id != LLDB_INVALID_BREAK_ID) { @@ -239,7 +239,7 @@ public:                          " which has been deleted - was at 0x%" PRIx64,                          m_value, m_address); -          m_description = strm.GetString(); +          m_description = std::string(strm.GetString());          }        }      } @@ -453,7 +453,7 @@ protected:                } else {                  LLDB_LOGF(log,                            "Condition evaluated for breakpoint %s on thread " -                          "0x%llx conditon_says_stop: %i.", +                          "0x%llx condition_says_stop: %i.",                            loc_desc.GetData(),                            static_cast<unsigned long long>(thread_sp->GetID()),                            condition_says_stop); @@ -631,7 +631,7 @@ public:      if (m_description.empty()) {        StreamString strm;        strm.Printf("watchpoint %" PRIi64, m_value); -      m_description = strm.GetString(); +      m_description = std::string(strm.GetString());      }      return m_description.c_str();    } @@ -969,7 +969,7 @@ public:            strm.Printf("signal %s", signal_name);          else            strm.Printf("signal %" PRIi64, m_value); -        m_description = strm.GetString(); +        m_description = std::string(strm.GetString());        }      }      return m_description.c_str(); @@ -1034,7 +1034,7 @@ public:      if (m_description.empty()) {        StreamString strm;        m_plan_sp->GetDescription(&strm, eDescriptionLevelBrief); -      m_description = strm.GetString(); +      m_description = std::string(strm.GetString());      }      return m_description.c_str();    } | 
