Skip to content

Commit

Permalink
Workaround dependency on GLIBCXX_3.4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
apangin committed Apr 10, 2024
1 parent 978fe2c commit 005f7a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frameName.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,11 @@ const char* FrameName::name(ASGCT_CallFrame& frame, bool for_matching) {
JMethodCache::iterator it = _cache.lower_bound(frame.method_id);
if (it != _cache.end() && it->first == frame.method_id) {
it->second[0] = _cache_epoch;
const char* name = it->second.c_str() + 1;
if (type_suffix != NULL) {
return _str.assign(it->second, 1, std::string::npos).append(type_suffix).c_str();
return _str.assign(name).append(type_suffix).c_str();
}
return it->second.c_str() + 1;
return name;
}

javaMethodName(frame.method_id);
Expand Down

0 comments on commit 005f7a3

Please sign in to comment.