diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-07-28 13:20:34 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-08-03 15:56:53 -0500 |
commit | a1d0e5515e0eb706cb530ce1b9f285a6b8afc821 (patch) | |
tree | d68dc65b150978ba1a3ce20a9692953ad0c861d3 /tester/covoar/ExecutableInfo.h | |
parent | Remove input buffer global variables (diff) | |
download | rtems-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/ExecutableInfo.h')
-rw-r--r-- | tester/covoar/ExecutableInfo.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tester/covoar/ExecutableInfo.h b/tester/covoar/ExecutableInfo.h index 851a59d..0adebcb 100644 --- a/tester/covoar/ExecutableInfo.h +++ b/tester/covoar/ExecutableInfo.h @@ -18,9 +18,12 @@ #include "AddressToLineMapper.h" #include "CoverageMapBase.h" #include "SymbolTable.h" +#include "DesiredSymbols.h" namespace Coverage { +class DesiredSymbols; + /*! @class ExecutableInfo * * This class holds a collection of information for an executable @@ -41,11 +44,13 @@ namespace Coverage { * @param[in] theExecutableName specifies the name of the executable * @param[in] theLibraryName specifies the name of the executable * @param[in] verbose specifies whether to be verbose with output + * @param[in] symbolsToAnalyze the symbols to be analyzed */ ExecutableInfo( const char* const theExecutableName, - const std::string& theLibraryName = "", - bool verbose = false + const std::string& theLibraryName, + bool verbose, + DesiredSymbols& symbolsToAnalyze ); /*! @@ -198,6 +203,11 @@ namespace Coverage { */ SymbolTable theSymbolTable; + /*! + * This member variable contains the symbols to be analyzed. + */ + DesiredSymbols& symbolsToAnalyze_m; + }; } #endif |