[rocprofiler-systems] Add cached demangler and replace old demangle (#2135)
* Add cached demangler and replace old * Add unit tests * Applied suggestions from code review * Applied suggestions from code review
This commit is contained in:
committed by
GitHub
parent
21afa807a9
commit
666e76deac
+3
-2
@@ -24,6 +24,7 @@
|
||||
#include "common/defines.h"
|
||||
#include "common/join.hpp"
|
||||
#include "common/path.hpp"
|
||||
#include "core/demangler.hpp"
|
||||
#include "dl/dl.hpp"
|
||||
#include "fwd.hpp"
|
||||
#include "internal_libs.hpp"
|
||||
@@ -1451,8 +1452,8 @@ main(int argc, char** argv)
|
||||
dynamic_cast<process_t*>(addr_space) != nullptr)
|
||||
{
|
||||
errprintf(-1, "address space statisfied dynamic_cast<%s> and dynamic_cast<%s>.\n",
|
||||
tim::demangle<binary_edit_t*>().c_str(),
|
||||
tim::demangle<process_t*>().c_str());
|
||||
rocprofsys::utility::demangle<binary_edit_t*>().c_str(),
|
||||
rocprofsys::utility::demangle<process_t*>().c_str());
|
||||
}
|
||||
|
||||
auto _rewrite = (dynamic_cast<binary_edit_t*>(addr_space) != nullptr &&
|
||||
|
||||
Reference in New Issue
Block a user