Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
testing::internal::OsStackTraceGetter Class Reference
Inheritance diagram for testing::internal::OsStackTraceGetter:
Inheritance graph
[legend]

Public Member Functions

virtual string CurrentStackTrace (int max_depth, int skip_count) GTEST_LOCK_EXCLUDED_(mutex_)
 
 OsStackTraceGetter ()
 
virtual void UponLeavingGTest () GTEST_LOCK_EXCLUDED_(mutex_)
 
- Public Member Functions inherited from testing::internal::OsStackTraceGetterInterface
 OsStackTraceGetterInterface ()
 
virtual ~OsStackTraceGetterInterface ()
 

Static Public Attributes

static const char *const kElidedFramesMarker
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (OsStackTraceGetter)
 

Private Attributes

void * caller_frame_
 
Mutex mutex_
 

Detailed Description

Definition at line 841 of file gtest-all.cc.

Constructor & Destructor Documentation

◆ OsStackTraceGetter()

testing::internal::OsStackTraceGetter::OsStackTraceGetter ( )
inline

Definition at line 843 of file gtest-all.cc.

Member Function Documentation

◆ CurrentStackTrace()

string testing::internal::OsStackTraceGetter::CurrentStackTrace ( int  max_depth,
int  skip_count 
)
virtual

Implements testing::internal::OsStackTraceGetterInterface.

Definition at line 4996 of file gtest-all.cc.

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

testing::internal::OsStackTraceGetter::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( OsStackTraceGetter  )
private

◆ UponLeavingGTest()

void testing::internal::OsStackTraceGetter::UponLeavingGTest ( )
virtual

Implements testing::internal::OsStackTraceGetterInterface.

Definition at line 5002 of file gtest-all.cc.

Member Data Documentation

◆ caller_frame_

void* testing::internal::OsStackTraceGetter::caller_frame_
private

Definition at line 861 of file gtest-all.cc.

◆ kElidedFramesMarker

const char *const testing::internal::OsStackTraceGetter::kElidedFramesMarker
static
Initial value:
=
"... " GTEST_NAME_ " internal frames ..."

Definition at line 852 of file gtest-all.cc.

◆ mutex_

Mutex testing::internal::OsStackTraceGetter::mutex_
private

Definition at line 855 of file gtest-all.cc.


The documentation for this class was generated from the following file:
GTEST_NAME_
#define GTEST_NAME_
Definition: gtest.h:315


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Tue Nov 15 2022 03:17:24