================
@@ -101,14 +102,17 @@ struct DependencyScanningServiceOptions {
bool AsyncScanModules = false;
/// The build session timestamp for validate-once-per-build-session logic.
std::time_t BuildSessionTimestamp; // = std::chrono::system_clock::now();
+ /// The path to a log file, which logs timing of actions performed by
+ /// the dependency scanner.
+ std::string LogPath;
};
/// The dependency scanning service contains shared configuration and state
that
/// is used by the individual dependency scanning workers.
class DependencyScanningService {
public:
explicit DependencyScanningService(DependencyScanningServiceOptions Opts)
- : Opts(std::move(Opts)) {}
+ : Opts(std::move(Opts)), Logger(this->Opts.LogPath) {}
----------------
qiongsiwu wrote:
Yes!
https://github.com/llvm/llvm-project/pull/195896
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits