You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an open PR that adds a simple leak-checking mechanism to the validation layer. Leak-checking mechanism searches for unreleased references at the time of the urTearDown() call and provides a backtrace of the time each unreleased record was first recorded.
Default implementation on Linux uses the <execinfo.h> to provide a backtrace that might not be entirely useful. It looks like this:
It would be beneficial to provide an alternative backtrace implementation that depends on an external library to provide an unmangled backtrace, e.g. libbacktrace, libunwind. Backtrace implementation could be selected at the compile time based on the provided option eg. -DVALIDATION_BACKTRACE_LIBUNWIND.
There's an open PR that adds a simple leak-checking mechanism to the validation layer. Leak-checking mechanism searches for unreleased references at the time of the
urTearDown()
call and provides a backtrace of the time each unreleased record was first recorded.Default implementation on Linux uses the
<execinfo.h>
to provide a backtrace that might not be entirely useful. It looks like this:It would be beneficial to provide an alternative backtrace implementation that depends on an external library to provide an unmangled backtrace, e.g.
libbacktrace
,libunwind
. Backtrace implementation could be selected at the compile time based on the provided option eg.-DVALIDATION_BACKTRACE_LIBUNWIND
.Mentioned PR: #318.
The text was updated successfully, but these errors were encountered: