This commit is contained in:
David Ungar
2019-01-26 09:46:12 -08:00
parent 9d84bc2af1
commit 93db5f44ef
2 changed files with 15 additions and 13 deletions

View File

@@ -143,11 +143,9 @@ public:
///
/// This is intended to be a debugging aid.
class PathTracer: public PossiblePathTracer {
struct Entry {
const ModuleDepGraphNode *def; const ModuleDepGraphNode *use;
};
UnifiedStatsReporter *stats;
std::vector<Entry> entries;
UnifiedStatsReporter *stats;
std::vector<const ModuleDepGraphNode*> path;
llvm::DenseMap<const driver::Job*, std::vector<const ModuleDepGraphNode*>> pathsByJob;
private:
explicit PathTracer(UnifiedStatsReporter *stats): PossiblePathTracer(), stats(stats) {}
public: