A description of TESLA instrumentation to perform.
Definition at line 55 of file Manifest.h.
#include "Manifest.h"
Public Member Functions | |
Manifest (const Manifest &) | |
~Manifest () | |
llvm::ArrayRef< const Usage * > | RootAutomata () const |
Top-level automata (named explicitly in code). More... | |
const AutomataMap & | AllAutomata () const |
All automata in the manifest file. More... | |
const Automaton * | FindAutomaton (const Identifier &) const |
Find the tesla::Automaton named by an tesla::Identifier. More... | |
const Automaton * | FindAutomaton (const Location &) const |
Find the tesla::Automaton defined at a tesla::Location. More... | |
Static Public Member Functions | |
static Manifest * | load (llvm::raw_ostream &Err, Automaton::Type=Automaton::Deterministic, llvm::StringRef Path=defaultLocation()) |
Load a tesla::Manifest from a named file. More... | |
static llvm::StringRef | defaultLocation () |
The default location to look for a TESLA manifest. More... | |
tesla::Manifest::Manifest | ( | const Manifest & | ) |
tesla::Manifest::~Manifest | ( | ) |
Definition at line 65 of file Manifest.cpp.
|
inline |
All automata in the manifest file.
Definition at line 64 of file Manifest.h.
Referenced by main().
|
static |
The default location to look for a TESLA manifest.
This could be specified by a command-line option.
Definition at line 153 of file Manifest.cpp.
References tesla::ManifestName().
const Automaton * tesla::Manifest::FindAutomaton | ( | const Identifier & | ID | ) | const |
Find the tesla::Automaton named by an tesla::Identifier.
Definition at line 70 of file Manifest.cpp.
References tesla::panic(), and tesla::ShortName().
Referenced by main().
Find the tesla::Automaton defined at a tesla::Location.
Definition at line 78 of file Manifest.cpp.
|
static |
Load a tesla::Manifest from a named file.
Definition at line 87 of file Manifest.cpp.
Referenced by main().
|
inline |
Top-level automata (named explicitly in code).
Definition at line 61 of file Manifest.h.