SA: unify management of CSV indices

This commit is contained in:
Alessandro Di Federico
2019-03-06 18:35:26 +01:00
parent 02273d58e6
commit 28ceefcac3
8 changed files with 89 additions and 60 deletions
+2 -2
View File
@@ -119,7 +119,7 @@ bool StackAnalysis<AnalyzeABI>::runOnModule(Module &M) {
}
// Initialize the cache where all the results will be accumulated
Cache TheCache(&F);
Cache TheCache(&F, &GCBI);
// Pool where the final results will be collected
ResultsPool Results;
@@ -176,7 +176,7 @@ bool StackAnalysis<AnalyzeABI>::runOnModule(Module &M) {
}
std::stringstream Output;
GrandResult = Results.finalize(&M);
GrandResult = Results.finalize(&M, &TheCache);
GrandResult.dump(&M, Output);
TextRepresentation = Output.str();