LLDB
mainline
|
#include "lldb/Target/Trace.h"
#include "llvm/Support/Format.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Stream.h"
Go to the source code of this file.
Classes | |
struct | JSONSimpleTraceBundleDescription |
Namespaces | |
llvm | |
llvm::json | |
Functions | |
bool | llvm::json::fromJSON (const Value &value, JSONSimpleTraceBundleDescription &bundle, Path path) |
static Error | createInvalidPlugInError (StringRef plugin_name) |
template<typename K , typename V > | |
static Optional< V > | Lookup (DenseMap< K, V > &map, K k) |
Helper functions for fetching data in maps and returning Optionals or pointers instead of iterators for simplicity. More... | |
template<typename K , typename V > | |
static V * | LookupAsPtr (DenseMap< K, V > &map, K k) |
template<typename K1 , typename K2 , typename V > | |
static Optional< V > | Lookup (DenseMap< K1, DenseMap< K2, V >> &map, K1 k1, K2 k2) |
Similar to the methods above but it looks for an item in a map of maps. More... | |
template<typename K1 , typename K2 , typename V > | |
static V * | LookupAsPtr (DenseMap< K1, DenseMap< K2, V >> &map, K1 k1, K2 k2) |
Similar to the methods above but it looks for an item in a map of maps. More... | |
|
static |
Definition at line 86 of file Trace.cpp.
Referenced by lldb_private::Trace::FindPluginForLiveProcess(), lldb_private::Trace::FindPluginForPostMortemProcess(), and lldb_private::Trace::FindPluginSchema().
|
static |
Helper functions for fetching data in maps and returning Optionals or pointers instead of iterators for simplicity.
It's worth mentioning that the Optionals version can't return the inner data by reference because of limitations in move constructors.
Definition at line 52 of file Trace.cpp.
Referenced by lldb_private::Trace::GetLiveCpuBinaryDataSize(), lldb_private::Trace::GetLiveProcessBinaryDataSize(), lldb_private::Trace::GetLiveThreadBinaryDataSize(), lldb_private::Trace::GetPostMortemCpuDataFile(), lldb_private::Trace::GetPostMortemThreadDataFile(), and Lookup().
|
static |
|
static |
Definition at line 60 of file Trace.cpp.
Referenced by LookupAsPtr(), and lldb_private::Trace::OnLiveCpuBinaryDataRead().
|
static |
Similar to the methods above but it looks for an item in a map of maps.
Definition at line 78 of file Trace.cpp.
References LookupAsPtr().