diff options
author | Alex White <alex.white@oarcorp.com> | 2021-04-30 14:26:02 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-06-17 16:00:08 -0500 |
commit | a88be93a882379b59491e6661fad7dab0b358933 (patch) | |
tree | 33ad8004a53237185360dab3eab80cc713f4a1e5 /tester/covoar/ExecutableInfo.h | |
parent | tester: Add a72_lp64_qemu.ini (diff) | |
download | rtems-tools-a88be93a882379b59491e6661fad7dab0b358933.tar.bz2 |
covoar: Store only the file name in ExecutableInfo
This changes the ExecutableInfo class to only store the executable
file's name rather than an entire instance of rld::files::object. This
allows the rld::files::object to be cleaned up in the ExecutableInfo
constructor.
Updates #4383
Diffstat (limited to 'tester/covoar/ExecutableInfo.h')
-rw-r--r-- | tester/covoar/ExecutableInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tester/covoar/ExecutableInfo.h b/tester/covoar/ExecutableInfo.h index d5ccb19..5d5a595 100644 --- a/tester/covoar/ExecutableInfo.h +++ b/tester/covoar/ExecutableInfo.h @@ -77,7 +77,7 @@ namespace Coverage { * * @return Returns the executable's file name */ - const std::string getFileName( void ) const; + const std::string& getFileName( void ) const; /*! * This method returns the library name associated with the executable. @@ -158,14 +158,14 @@ namespace Coverage { ); /*! - * The ELF executable. + * The DWARF data to the ELF executable. */ - rld::files::object executable; + rld::dwarf::file debug; /*! - * The DWARF data to the ELF executable. + * The executable's file name. */ - rld::dwarf::file debug; + std::string fileName; /*! * The executable's symbol table. |