Classes | Functions | Variables
symbolize_test.cc File Reference
#include "absl/debugging/symbolize.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <cstring>
#include <iostream>
#include <memory>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/base/attributes.h"
#include "absl/base/casts.h"
#include "absl/base/internal/per_thread_tls.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/base/optimization.h"
#include "absl/debugging/internal/stack_consumption.h"
#include "absl/memory/memory.h"
Include dependency graph for symbolize_test.cc:

Go to the source code of this file.

Classes

struct  Foo
 

Functions

int ABSL_ATTRIBUTE_SECTION_VARIABLE (.text.unlikely) unlikely_func()
 
const char kHpageTextPadding [kHpageSize *4] ABSL_ATTRIBUTE_SECTION_VARIABLE (.text)
 
int main (int argc, char **argv)
 
void nonstatic_func ()
 
int regular_func ()
 
static void static_func ()
 
 TEST (Symbolize, Unimplemented)
 
static const char * TrySymbolize (void *pc)
 
static const char * TrySymbolizeWithLimit (void *pc, int limit)
 

Variables

static constexpr size_t kHpageSize = 1 << 21
 
static char try_symbolize_buffer [4096]
 
static volatile bool volatile_bool = false
 

Function Documentation

◆ ABSL_ATTRIBUTE_SECTION_VARIABLE() [1/2]

int ABSL_ATTRIBUTE_SECTION_VARIABLE ( .text.  unlikely)

Definition at line 55 of file symbolize_test.cc.

◆ ABSL_ATTRIBUTE_SECTION_VARIABLE() [2/2]

const char kHpageTextPadding [kHpageSize * 4] ABSL_ATTRIBUTE_SECTION_VARIABLE ( text)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 499 of file symbolize_test.cc.

◆ nonstatic_func()

void nonstatic_func ( )

Definition at line 40 of file symbolize_test.cc.

◆ regular_func()

int regular_func ( )

Definition at line 71 of file symbolize_test.cc.

◆ static_func()

static void static_func ( )
static

Definition at line 41 of file symbolize_test.cc.

◆ TEST()

TEST ( Symbolize  ,
Unimplemented   
)

Definition at line 490 of file symbolize_test.cc.

◆ TrySymbolize()

static const char* TrySymbolize ( void *  pc)
static

Definition at line 117 of file symbolize_test.cc.

◆ TrySymbolizeWithLimit()

static const char* TrySymbolizeWithLimit ( void *  pc,
int  limit 
)
static

Definition at line 99 of file symbolize_test.cc.

Variable Documentation

◆ kHpageSize

constexpr size_t kHpageSize = 1 << 21
static

Definition at line 89 of file symbolize_test.cc.

◆ try_symbolize_buffer

char try_symbolize_buffer[4096]
static

Definition at line 93 of file symbolize_test.cc.

◆ volatile_bool

volatile bool volatile_bool = false
static

Definition at line 86 of file symbolize_test.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22