freebsd-dev/source/Target/InstrumentationRuntimeStopInfo.cpp
Ed Maste 205afe6798 Import LLDB as of upstream SVN r225923 (git 2b588ecd)
This corresponds with the branchpoint for the 3.6 release.
A number of files not required for the FreeBSD build have been removed.

Sponsored by:	DARPA, AFRL
2015-02-06 21:38:51 +00:00

37 lines
1.2 KiB
C++

//===-- InstrumentationRuntimeStopInfo.cpp ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "lldb/Target/InstrumentationRuntimeStopInfo.h"
#include "lldb/lldb-private.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/InstrumentationRuntime.h"
using namespace lldb;
using namespace lldb_private;
InstrumentationRuntimeStopInfo::InstrumentationRuntimeStopInfo(Thread &thread, std::string description, StructuredData::ObjectSP additional_data) :
StopInfo(thread, 0)
{
m_extended_info = additional_data;
m_description = description;
}
const char *
InstrumentationRuntimeStopInfo::GetDescription ()
{
return m_description.c_str();
}
StopInfoSP
InstrumentationRuntimeStopInfo::CreateStopReasonWithInstrumentationData (Thread &thread, std::string description, StructuredData::ObjectSP additionalData)
{
return StopInfoSP(new InstrumentationRuntimeStopInfo(thread, description, additionalData));
}