18 return createStringError(
19 std::errc::invalid_argument,
20 "no trace expoter plug-in matches the specified type: \"%s\"",
24Expected<lldb::TraceExporterUP>
26 if (
auto create_callback =
28 return create_callback();
static Error createInvalidPlugInError(StringRef plugin_name)
static Error createInvalidPlugInError(StringRef plugin_name)
static TraceExporterCreateInstance GetTraceExporterCreateCallback(llvm::StringRef plugin_name)
static llvm::Expected< lldb::TraceExporterUP > FindPlugin(llvm::StringRef plugin_name)
Create an instance of a trace exporter plugin given its name.
A class that represents a running process on the host machine.