summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ReportsHtml.cc
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-07-28 13:20:34 -0400
committerJoel Sherrill <joel@rtems.org>2021-08-03 15:56:53 -0500
commita1d0e5515e0eb706cb530ce1b9f285a6b8afc821 (patch)
treed68dc65b150978ba1a3ce20a9692953ad0c861d3 /tester/covoar/ReportsHtml.cc
parentRemove input buffer global variables (diff)
downloadrtems-tools-a1d0e5515e0eb706cb530ce1b9f285a6b8afc821.tar.bz2
Remove SymbolsToAnalyze global variable
- Removed SymbolsToAnalyze from app_common and replaced it with the symbolsToAnalyze_m member variable in DesiredSymbols, GcovData, and ObjdumpProcessor - Added a parameter to constructors to initialize symbolsToAnalyze_m - Moved the definition of objdumpLine_t out of ObjdumpProcessor to make it work with DesiredSymbols
Diffstat (limited to 'tester/covoar/ReportsHtml.cc')
-rw-r--r--tester/covoar/ReportsHtml.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/tester/covoar/ReportsHtml.cc b/tester/covoar/ReportsHtml.cc
index 645dfcd..d6c5217 100644
--- a/tester/covoar/ReportsHtml.cc
+++ b/tester/covoar/ReportsHtml.cc
@@ -38,17 +38,19 @@ typedef rtems::utils::ostream_guard ostream_guard;
namespace Coverage {
ReportsHtml::ReportsHtml(
- time_t timestamp,
- const std::string& symbolSetName,
- Coverage::Explanations& allExplanations,
- const std::string& projectName,
- const std::string& outputDirectory
+ time_t timestamp,
+ const std::string& symbolSetName,
+ Coverage::Explanations& allExplanations,
+ const std::string& projectName,
+ const std::string& outputDirectory,
+ const Coverage::DesiredSymbols& symbolsToAnalyze
): ReportsBase(
timestamp,
symbolSetName,
allExplanations,
projectName,
- outputDirectory
+ outputDirectory,
+ symbolsToAnalyze
),
lastState_m( A_SOURCE )
{
@@ -441,7 +443,7 @@ namespace Coverage {
{
if (
BranchInfoAvailable &&
- SymbolsToAnalyze->getNumberBranchesFound( symbolSetName_m ) != 0
+ symbolsToAnalyze_m.getNumberBranchesFound( symbolSetName_m ) != 0
) {
report << "All branch paths taken." << std::endl;
} else {