Remove Critical Trace Support (#327)
* Delete core critical-trace files * Update docs and README * Update workflows * Update testing * Update cmake * Remove critical trace usage in source code * Update source/docs/critical_trace.md - fix spelling * Formatting * Update bin/omnitrace-avail/avail.cpp - statically allocate shared pointers for timemory manager and hash id/aliases to prevent use-after-free errors
This commit is contained in:
committed by
GitHub
parent
b81db80926
commit
9499e2f521
@@ -50,6 +50,7 @@ template <typename... Args>
|
||||
auto
|
||||
get_backtrace(Args... _arg)
|
||||
{
|
||||
consume_args(_arg...);
|
||||
auto _bt = std::stringstream{};
|
||||
if constexpr(sizeof...(Args) > 0)
|
||||
{
|
||||
@@ -57,7 +58,6 @@ get_backtrace(Args... _arg)
|
||||
}
|
||||
tim::unwind::detailed_backtrace<2>(_bt, true);
|
||||
return strdup(_bt.str().c_str());
|
||||
consume_args(_arg...);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user