proxygen
folly::exception_tracer::StackTraceStack::Node Class Reference
Inheritance diagram for folly::exception_tracer::StackTraceStack::Node:
folly::exception_tracer::StackTrace

Public Member Functions

void deallocate ()
 
- Public Member Functions inherited from folly::exception_tracer::StackTrace
 StackTrace ()
 

Static Public Member Functions

static Nodeallocate ()
 

Public Attributes

Nodenext
 
- Public Attributes inherited from folly::exception_tracer::StackTrace
size_t frameCount
 
uintptr_t addresses [kMaxFrames]
 

Private Member Functions

 Node ()
 
 ~Node ()
 

Detailed Description

Definition at line 28 of file StackTrace.cpp.

Constructor & Destructor Documentation

folly::exception_tracer::StackTraceStack::Node::Node ( )
inlineprivate

Definition at line 36 of file StackTrace.cpp.

Referenced by allocate().

folly::exception_tracer::StackTraceStack::Node::~Node ( )
inlineprivate

Definition at line 37 of file StackTrace.cpp.

37 {}

Member Function Documentation

auto folly::exception_tracer::StackTraceStack::Node::allocate ( )
static

Definition at line 40 of file StackTrace.cpp.

References Node().

Referenced by folly::exception_tracer::StackTraceStack::pushCurrent().

40  {
41  // Null pointer on error, please.
42  return new (std::nothrow) Node();
43 }
void folly::exception_tracer::StackTraceStack::Node::deallocate ( )

Definition at line 45 of file StackTrace.cpp.

Referenced by folly::exception_tracer::StackTraceStack::pop().

45  {
46  delete this;
47 }

Member Data Documentation


The documentation for this class was generated from the following file: