8#ifndef LLVM_XRAY_FDRLOGBUILDER_H
9#define LLVM_XRAY_FDRLOGBUILDER_H
26 std::vector<std::unique_ptr<Record>> Records;
30 Records.emplace_back(
new R(std::forward<T>(
A)...));
34 std::vector<std::unique_ptr<Record>>
consume() {
return std::move(Records); }
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
The LogBuilder class allows for creating ad-hoc collections of records through the add<....
LogBuilder & add(T &&... A)
std::vector< std::unique_ptr< Record > > consume()
This is an optimization pass for GlobalISel generic memory operations.