libcsdbg  1.28
C++ exception (and generic) stack trace debug library
plugin & csdbg::plugin::destroy ( )
protectedvirtual

Object deconstruction.

Returns
*this

Definition at line 18 of file plugin.cpp.

References likely, m_begin, m_end, m_handle, and m_path.

Referenced by ~plugin().

19 {
20  if ( likely(m_handle != NULL) )
21  dlclose(m_handle);
22 
23  delete[] m_path;
24  m_path = NULL;
25  m_handle = NULL;
26  m_begin = m_end = NULL;
27 
28  return *this;
29 }
modsym_t m_end
Instrumentation ending callback.
Definition: plugin.hpp:50
#define likely(expr)
Offer a hint (positive) to the pipeline branch predictor.
Definition: config.hpp:344
modsym_t m_begin
Instrumentation starting callback.
Definition: plugin.hpp:48
i8 * m_path
Module file path.
Definition: plugin.hpp:52
void * m_handle
DSO handle (as provided by dlopen)
Definition: plugin.hpp:54

+ Here is the caller graph for this function: