diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-07-28 09:23:14 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-08-03 15:56:53 -0500 |
commit | d5178b8dc53d1130a4c564a6cf233bc29fe82931 (patch) | |
tree | d3b71634475cc1fcbc544d3c510ef82d84e1f089 /tester/covoar/covoar.cc | |
parent | Remove outputDirectory global variable (diff) | |
download | rtems-tools-d5178b8dc53d1130a4c564a6cf233bc29fe82931.tar.bz2 |
Remove input buffer global variables
- Removed input buffers from app_common and added them as a local variable
to functions where inputBuffer was being used
- Added #define for MAX_LINE_LENGTH in files where it is used
- Changed Explanations::load to use a string instead of a C-string
Diffstat (limited to 'tester/covoar/covoar.cc')
-rw-r--r-- | tester/covoar/covoar.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc index 2d161aa..8ee3eb8 100644 --- a/tester/covoar/covoar.cc +++ b/tester/covoar/covoar.cc @@ -34,6 +34,8 @@ #define kill(p,s) raise(s) #endif +#define MAX_LINE_LENGTH 512 + typedef std::list<std::string> CoverageNames; typedef std::list<Coverage::ExecutableInfo*> Executables; typedef std::string option_error; @@ -174,6 +176,7 @@ int covoar( std::string symbolSet; std::string option; int opt; + char inputBuffer[MAX_LINE_LENGTH]; Coverage::Explanations allExplanations; Coverage::ObjdumpProcessor objdumpProcessor; bool verbose = false; |