13#ifndef LLVM_XRAY_FDRTRACEEXPANDER_H
14#define LLVM_XRAY_FDRTRACEEXPANDER_H
31 bool BuildingRecord =
false;
32 bool IgnoringRecords =
false;
34 void resetCurrentRecord();
static void visit(BasicBlock &Start, std::function< bool(BasicBlock *)> op)
Lightweight error class with error context and mandatory checking.
An efficient, type-erasing, non-owning reference to a callable.
TraceExpander(function_ref< void(const XRayRecord &)> F, uint16_t L)
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.
An XRayRecord is the denormalized view of data associated in a trace.