[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
Tento commit je obsažen v:
1 rodič
21afa807a9
revize
666e76deac
27 files changed
+450
-84
No files matched your search
+3
-1
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "function_signature.hpp"
|
||||
|
||||
#include "core/demangler.hpp"
|
||||
|
||||
function_signature::function_signature(std::string_view _ret, std::string_view _name,
|
||||
std::string_view _file, location_t _row,
|
||||
location_t _col, bool _loop, bool _info_beg,
|
||||
@@ -32,7 +34,7 @@ function_signature::function_signature(std::string_view _ret, std::string_view _
|
||||
, m_row(std::move(_row))
|
||||
, m_col(std::move(_col))
|
||||
, m_return(_ret)
|
||||
, m_name(tim::demangle(_name.data()))
|
||||
, m_name(rocprofsys::utility::demangle(_name.data()))
|
||||
, m_file(_file)
|
||||
{
|
||||
if(m_file.find('/') != std::string_view::npos)
|
||||
|
||||
Reference in new issue
Zablokovat Uživatele