#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"
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 |
int ABSL_ATTRIBUTE_SECTION_VARIABLE | ( | .text. | unlikely | ) |
Definition at line 55 of file symbolize_test.cc.
const char kHpageTextPadding [kHpageSize * 4] ABSL_ATTRIBUTE_SECTION_VARIABLE | ( | . | text | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 499 of file symbolize_test.cc.
void nonstatic_func | ( | ) |
Definition at line 40 of file symbolize_test.cc.
int regular_func | ( | ) |
Definition at line 71 of file symbolize_test.cc.
static void static_func | ( | ) | [static] |
Definition at line 41 of file symbolize_test.cc.
TEST | ( | Symbolize | , |
Unimplemented | |||
) |
Definition at line 490 of file symbolize_test.cc.
static const char* TrySymbolize | ( | void * | pc | ) | [static] |
Definition at line 117 of file symbolize_test.cc.
static const char* TrySymbolizeWithLimit | ( | void * | pc, |
int | limit | ||
) | [static] |
Definition at line 99 of file symbolize_test.cc.
constexpr size_t kHpageSize = 1 << 21 [static] |
Definition at line 89 of file symbolize_test.cc.
char try_symbolize_buffer[4096] [static] |
Definition at line 93 of file symbolize_test.cc.
volatile bool volatile_bool = false [static] |
Definition at line 86 of file symbolize_test.cc.