look for symbols in dynsym table (#990)
* look for symbols in dynsym table
* checking both symtab and dynsym
* Avoid symbol duplication in non stripped binaries
* clang-format
* Minor elf_utils.cpp updates
- use 'else if' instead of 'if'
- logging tweaks
* Update registration
- tweak logging
* Update testing
- strip the rocprofiler-sdk-c-tool library
- add test-c-tool-rocp-tool-lib-execute test which does NOT LD_PRELOAD the library (uses only ROCP_TOOL_LIBRARIES instead)
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
[ROCm/rocprofiler-sdk commit: dc671497da]
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
185094eee1
tiomantas
2393b2ee45
@@ -86,12 +86,13 @@ struct ElfInfo
|
||||
{
|
||||
explicit ElfInfo(std::string);
|
||||
|
||||
std::string filename = {};
|
||||
ELFIO::elfio reader = {};
|
||||
std::vector<Section*> sections = {};
|
||||
std::vector<SymbolEntry> symbol_entries = {};
|
||||
std::vector<DynamicEntry> dynamic_entries = {};
|
||||
std::vector<RelocationEntry> reloc_entries = {};
|
||||
std::string filename = {};
|
||||
ELFIO::elfio reader = {};
|
||||
std::vector<Section*> sections = {};
|
||||
std::vector<SymbolEntry> symbol_entries = {};
|
||||
std::vector<SymbolEntry> dynamic_symbol_entries = {};
|
||||
std::vector<DynamicEntry> dynamic_entries = {};
|
||||
std::vector<RelocationEntry> reloc_entries = {};
|
||||
|
||||
bool has_symbol(std::regex&&) const;
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir