LLDB mainline
ObjectFileJSON.cpp File Reference
#include "Plugins/ObjectFile/JSON/ObjectFileJSON.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringExtras.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.

Functions

static StringRef GetText (const lldb_private::DataExtractor &data)
 Returns the JSON text in the buffer, which is not NULL terminated and may be zero padded past the end of the file.
bool lldb_private::fromJSON (const json::Value &value, ObjectFileJSON::Header &header, json::Path path)
bool lldb_private::fromJSON (const json::Value &value, ObjectFileJSON::Body &body, json::Path path)

Function Documentation

◆ GetText()

StringRef GetText ( const lldb_private::DataExtractor & data)
static

Returns the JSON text in the buffer, which is not NULL terminated and may be zero padded past the end of the file.

Definition at line 32 of file ObjectFileJSON.cpp.

References lldb_private::DataExtractor::GetData().

Referenced by lldb_private::ObjectFileJSON::CreateInstance(), and lldb_private::ObjectFileJSON::GetModuleSpecifications().