Classes | Typedefs | Functions | Variables
absl::debugging_internal Namespace Reference

Classes

struct  AbbrevPair
struct  ParseState
struct  State
struct  SymbolDecoratorArgs

Typedefs

typedef bool(* ParseFunc )(State *)

Functions

bool AddressIsReadable (const void *)
static void Append (State *state, const char *const str, const int length)
static bool AtLeastNumCharsRemaining (const char *str, int n)
bool Demangle (const char *mangled, char *out, int out_size)
static bool DisableAppend (State *state)
static void DumpPCAndFrameSize (void(*writerfn)(const char *, void *), void *writerfn_arg, void *pc, int framesize, const char *const prefix)
static void DumpPCAndFrameSizeAndSymbol (void(*writerfn)(const char *, void *), void *writerfn_arg, void *pc, void *symbolize_pc, int framesize, const char *const prefix)
void DumpPCAndFrameSizesAndStackTrace (void *pc, void *const stack[], int frame_sizes[], int depth, int min_dropped_frames, bool symbolize_stacktrace, void(*writerfn)(const char *, void *), void *writerfn_arg)
static bool EndsWith (State *state, const char chr)
static bool EnterNestedName (State *state)
const char * FailureSignalToString (int signo)
bool GetFileMappingHint (const void **start, const void **end, uint64_t *offset, const char **filename)
void * GetProgramCounter (void *vuc)
static bool IdentifierIsAnonymousNamespace (State *state, int length)
static void InitState (State *state, const char *mangled, char *out, int out_size)
int InstallSymbolDecorator (SymbolDecorator decorator, void *arg)
static bool IsAlpha (char c)
static bool IsDigit (char c)
static bool IsFunctionCloneSuffix (const char *str)
static bool IsLower (char c)
static bool LeaveNestedName (State *state, int16_t prev_value)
static bool MaybeAppend (State *state, const char *const str)
static bool MaybeAppendDecimal (State *state, unsigned int val)
static void MaybeAppendSeparator (State *state)
static void MaybeAppendWithLength (State *state, const char *const str, const int length)
static void MaybeCancelLastSeparator (State *state)
static void MaybeIncreaseNestLevel (State *state)
static bool OneOrMore (ParseFunc parse_func, State *state)
static bool Optional (bool)
static bool Overflowed (const State *state)
static bool ParseArrayType (State *state)
static bool ParseBareFunctionType (State *state)
static bool ParseBaseUnresolvedName (State *state)
static bool ParseBuiltinType (State *state)
static bool ParseCallOffset (State *state)
static bool ParseCharClass (State *state, const char *char_class)
static bool ParseClassEnumType (State *state)
static bool ParseCtorDtorName (State *state)
static bool ParseCVQualifiers (State *state)
static bool ParseDecltype (State *state)
static bool ParseDigit (State *state, int *digit)
static bool ParseDiscriminator (State *state)
static bool ParseEncoding (State *state)
static bool ParseExprCastValue (State *state)
static bool ParseExpression (State *state)
static bool ParseExprPrimary (State *state)
static bool ParseFloatNumber (State *state)
static bool ParseFunctionType (State *state)
static bool ParseIdentifier (State *state, int length)
static bool ParseLocalName (State *state)
static bool ParseLocalNameSuffix (State *state)
static bool ParseLocalSourceName (State *state)
static bool ParseMangledName (State *state)
static bool ParseName (State *state)
static bool ParseNestedName (State *state)
static bool ParseNumber (State *state, int *number_out)
static bool ParseNVOffset (State *state)
static bool ParseOneCharToken (State *state, const char one_char_token)
static bool ParseOperatorName (State *state, int *arity)
static bool ParsePointerToMemberType (State *state)
static bool ParsePrefix (State *state)
static bool ParseRefQualifier (State *state)
static bool ParseSeqId (State *state)
static bool ParseSimpleId (State *state)
static bool ParseSourceName (State *state)
static bool ParseSpecialName (State *state)
static bool ParseSubstitution (State *state, bool accept_std)
static bool ParseTemplateArg (State *state)
static bool ParseTemplateArgs (State *state)
static bool ParseTemplateParam (State *state)
static bool ParseTemplateTemplateParam (State *state)
static bool ParseTopLevelMangledName (State *state)
static bool ParseTwoCharToken (State *state, const char *two_char_token)
static bool ParseType (State *state)
static bool ParseUnnamedTypeName (State *state)
static bool ParseUnqualifiedName (State *state)
static bool ParseUnresolvedName (State *state)
static bool ParseUnresolvedType (State *state)
static bool ParseUnscopedName (State *state)
static bool ParseVOffset (State *state)
bool RegisterFileMappingHint (const void *start, const void *end, uint64_t offset, const char *filename)
static const char * RemainingInput (State *state)
bool RemoveAllSymbolDecorators (void)
bool RemoveSymbolDecorator (int ticket)
static bool RestoreAppend (State *state, bool prev_value)
bool StackTraceWorksForTest ()
 static_assert (sizeof(ParseState)==4 *sizeof(int),"unexpected size of ParseState")
static size_t StrLen (const char *str)
static bool StrPrefix (const char *str, const char *prefix)
static bool ZeroOrMore (ParseFunc parse_func, State *state)

Variables

static const AbbrevPair kBuiltinTypeList []
static const AbbrevPair kOperatorList []
static constexpr int kPrintfPointerFieldWidth = 2 + 2 * sizeof(void*)
static const AbbrevPair kSubstitutionList []

Typedef Documentation

Definition at line 322 of file demangle.cc.


Function Documentation

Definition at line 26 of file address_is_readable.cc.

static void absl::debugging_internal::Append ( State *  state,
const char *const  str,
const int  length 
) [static]

Definition at line 345 of file demangle.cc.

static bool absl::debugging_internal::AtLeastNumCharsRemaining ( const char *  str,
int  n 
) [static]

Definition at line 224 of file demangle.cc.

bool absl::debugging_internal::Demangle ( const char *  mangled,
char *  out,
int  out_size 
)

Definition at line 1870 of file demangle.cc.

static bool absl::debugging_internal::DisableAppend ( State *  state) [static]

Definition at line 467 of file demangle.cc.

static void absl::debugging_internal::DumpPCAndFrameSize ( void(*)(const char *, void *)  writerfn,
void *  writerfn_arg,
void *  pc,
int  framesize,
const char *const  prefix 
) [static]

Definition at line 103 of file examine_stack.cc.

static void absl::debugging_internal::DumpPCAndFrameSizeAndSymbol ( void(*)(const char *, void *)  writerfn,
void *  writerfn_arg,
void *  pc,
void *  symbolize_pc,
int  framesize,
const char *const  prefix 
) [static]

Definition at line 82 of file examine_stack.cc.

void absl::debugging_internal::DumpPCAndFrameSizesAndStackTrace ( void *  pc,
void *const  stack[],
int  frame_sizes[],
int  depth,
int  min_dropped_frames,
bool  symbolize_stacktrace,
void(*)(const char *, void *)  writerfn,
void *  writerfn_arg 
)

Definition at line 117 of file examine_stack.cc.

static bool absl::debugging_internal::EndsWith ( State *  state,
const char  chr 
) [static]

Definition at line 397 of file demangle.cc.

static bool absl::debugging_internal::EnterNestedName ( State *  state) [static]

Definition at line 455 of file demangle.cc.

Definition at line 108 of file failure_signal_handler.cc.

bool absl::debugging_internal::GetFileMappingHint ( const void **  start,
const void **  end,
uint64_t *  offset,
const char **  filename 
)

Definition at line 38 of file examine_stack.cc.

static bool absl::debugging_internal::IdentifierIsAnonymousNamespace ( State *  state,
int  length 
) [static]

Definition at line 503 of file demangle.cc.

static void absl::debugging_internal::InitState ( State *  state,
const char *  mangled,
char *  out,
int  out_size 
) [static]

Definition at line 242 of file demangle.cc.

int absl::debugging_internal::InstallSymbolDecorator ( SymbolDecorator  decorator,
void *  arg 
)
static bool absl::debugging_internal::IsAlpha ( char  c) [static]

Definition at line 365 of file demangle.cc.

static bool absl::debugging_internal::IsDigit ( char  c) [static]

Definition at line 369 of file demangle.cc.

static bool absl::debugging_internal::IsFunctionCloneSuffix ( const char *  str) [static]

Definition at line 375 of file demangle.cc.

static bool absl::debugging_internal::IsLower ( char  c) [static]

Definition at line 363 of file demangle.cc.

static bool absl::debugging_internal::LeaveNestedName ( State *  state,
int16_t  prev_value 
) [static]

Definition at line 461 of file demangle.cc.

static bool absl::debugging_internal::MaybeAppend ( State *  state,
const char *const  str 
) [static]

Definition at line 446 of file demangle.cc.

static bool absl::debugging_internal::MaybeAppendDecimal ( State *  state,
unsigned int  val 
) [static]

Definition at line 421 of file demangle.cc.

static void absl::debugging_internal::MaybeAppendSeparator ( State *  state) [static]

Definition at line 486 of file demangle.cc.

static void absl::debugging_internal::MaybeAppendWithLength ( State *  state,
const char *const  str,
const int  length 
) [static]

Definition at line 403 of file demangle.cc.

static void absl::debugging_internal::MaybeCancelLastSeparator ( State *  state) [static]

Definition at line 493 of file demangle.cc.

static void absl::debugging_internal::MaybeIncreaseNestLevel ( State *  state) [static]

Definition at line 479 of file demangle.cc.

static bool absl::debugging_internal::OneOrMore ( ParseFunc  parse_func,
State *  state 
) [static]

Definition at line 323 of file demangle.cc.

static bool absl::debugging_internal::Optional ( bool  ) [static]

Definition at line 319 of file demangle.cc.

static bool absl::debugging_internal::Overflowed ( const State *  state) [static]

Definition at line 1865 of file demangle.cc.

static bool absl::debugging_internal::ParseArrayType ( State *  state) [static]

Definition at line 1277 of file demangle.cc.

static bool absl::debugging_internal::ParseBareFunctionType ( State *  state) [static]

Definition at line 1254 of file demangle.cc.

static bool absl::debugging_internal::ParseBaseUnresolvedName ( State *  state) [static]

Definition at line 1480 of file demangle.cc.

static bool absl::debugging_internal::ParseBuiltinType ( State *  state) [static]

Definition at line 1219 of file demangle.cc.

static bool absl::debugging_internal::ParseCallOffset ( State *  state) [static]

Definition at line 1028 of file demangle.cc.

static bool absl::debugging_internal::ParseCharClass ( State *  state,
const char *  char_class 
) [static]

Definition at line 291 of file demangle.cc.

static bool absl::debugging_internal::ParseClassEnumType ( State *  state) [static]

Definition at line 1269 of file demangle.cc.

static bool absl::debugging_internal::ParseCtorDtorName ( State *  state) [static]

Definition at line 1072 of file demangle.cc.

static bool absl::debugging_internal::ParseCVQualifiers ( State *  state) [static]

Definition at line 1207 of file demangle.cc.

static bool absl::debugging_internal::ParseDecltype ( State *  state) [static]

Definition at line 1098 of file demangle.cc.

static bool absl::debugging_internal::ParseDigit ( State *  state,
int *  digit 
) [static]

Definition at line 307 of file demangle.cc.

static bool absl::debugging_internal::ParseDiscriminator ( State *  state) [static]

Definition at line 1783 of file demangle.cc.

static bool absl::debugging_internal::ParseEncoding ( State *  state) [static]

Definition at line 595 of file demangle.cc.

static bool absl::debugging_internal::ParseExprCastValue ( State *  state) [static]

Definition at line 1722 of file demangle.cc.

static bool absl::debugging_internal::ParseExpression ( State *  state) [static]

Definition at line 1565 of file demangle.cc.

static bool absl::debugging_internal::ParseExprPrimary ( State *  state) [static]

Definition at line 1689 of file demangle.cc.

static bool absl::debugging_internal::ParseFloatNumber ( State *  state) [static]

Definition at line 844 of file demangle.cc.

static bool absl::debugging_internal::ParseFunctionType ( State *  state) [static]

Definition at line 1240 of file demangle.cc.

static bool absl::debugging_internal::ParseIdentifier ( State *  state,
int  length 
) [static]

Definition at line 879 of file demangle.cc.

static bool absl::debugging_internal::ParseLocalName ( State *  state) [static]

Definition at line 1770 of file demangle.cc.

static bool absl::debugging_internal::ParseLocalNameSuffix ( State *  state) [static]

Definition at line 1751 of file demangle.cc.

static bool absl::debugging_internal::ParseLocalSourceName ( State *  state) [static]

Definition at line 754 of file demangle.cc.

static bool absl::debugging_internal::ParseMangledName ( State *  state) [static]

Definition at line 586 of file demangle.cc.

static bool absl::debugging_internal::ParseName ( State *  state) [static]

Definition at line 617 of file demangle.cc.

static bool absl::debugging_internal::ParseNestedName ( State *  state) [static]

Definition at line 673 of file demangle.cc.

static bool absl::debugging_internal::ParseNumber ( State *  state,
int *  number_out 
) [static]

Definition at line 809 of file demangle.cc.

static bool absl::debugging_internal::ParseNVOffset ( State *  state) [static]

Definition at line 1048 of file demangle.cc.

static bool absl::debugging_internal::ParseOneCharToken ( State *  state,
const char  one_char_token 
) [static]

Definition at line 265 of file demangle.cc.

static bool absl::debugging_internal::ParseOperatorName ( State *  state,
int *  arity 
) [static]

Definition at line 897 of file demangle.cc.

static bool absl::debugging_internal::ParsePointerToMemberType ( State *  state) [static]

Definition at line 1296 of file demangle.cc.

static bool absl::debugging_internal::ParsePrefix ( State *  state) [static]

Definition at line 699 of file demangle.cc.

static bool absl::debugging_internal::ParseRefQualifier ( State *  state) [inline, static]

Definition at line 665 of file demangle.cc.

static bool absl::debugging_internal::ParseSeqId ( State *  state) [static]

Definition at line 862 of file demangle.cc.

static bool absl::debugging_internal::ParseSimpleId ( State *  state) [inline, static]

Definition at line 1469 of file demangle.cc.

static bool absl::debugging_internal::ParseSourceName ( State *  state) [static]

Definition at line 737 of file demangle.cc.

static bool absl::debugging_internal::ParseSpecialName ( State *  state) [static]

Definition at line 966 of file demangle.cc.

static bool absl::debugging_internal::ParseSubstitution ( State *  state,
bool  accept_std 
) [static]

Definition at line 1805 of file demangle.cc.

static bool absl::debugging_internal::ParseTemplateArg ( State *  state) [static]

Definition at line 1357 of file demangle.cc.

static bool absl::debugging_internal::ParseTemplateArgs ( State *  state) [static]

Definition at line 1338 of file demangle.cc.

static bool absl::debugging_internal::ParseTemplateParam ( State *  state) [static]

Definition at line 1309 of file demangle.cc.

static bool absl::debugging_internal::ParseTemplateTemplateParam ( State *  state) [static]

Definition at line 1329 of file demangle.cc.

static bool absl::debugging_internal::ParseTopLevelMangledName ( State *  state) [static]

Definition at line 1843 of file demangle.cc.

static bool absl::debugging_internal::ParseTwoCharToken ( State *  state,
const char *  two_char_token 
) [static]

Definition at line 278 of file demangle.cc.

static bool absl::debugging_internal::ParseType ( State *  state) [static]

Definition at line 1130 of file demangle.cc.

static bool absl::debugging_internal::ParseUnnamedTypeName ( State *  state) [static]

Definition at line 770 of file demangle.cc.

static bool absl::debugging_internal::ParseUnqualifiedName ( State *  state) [static]

Definition at line 728 of file demangle.cc.

static bool absl::debugging_internal::ParseUnresolvedName ( State *  state) [static]

Definition at line 1510 of file demangle.cc.

static bool absl::debugging_internal::ParseUnresolvedType ( State *  state) [inline, static]

Definition at line 1462 of file demangle.cc.

static bool absl::debugging_internal::ParseUnscopedName ( State *  state) [static]

Definition at line 647 of file demangle.cc.

static bool absl::debugging_internal::ParseVOffset ( State *  state) [static]

Definition at line 1055 of file demangle.cc.

bool absl::debugging_internal::RegisterFileMappingHint ( const void *  start,
const void *  end,
uint64_t  offset,
const char *  filename 
)
static const char* absl::debugging_internal::RemainingInput ( State *  state) [inline, static]

Definition at line 258 of file demangle.cc.

static bool absl::debugging_internal::RestoreAppend ( State *  state,
bool  prev_value 
) [static]

Definition at line 473 of file demangle.cc.

absl::debugging_internal::static_assert ( sizeof(ParseState)  = =4 *sizeof(int),
"unexpected size of ParseState"   
)
static size_t absl::debugging_internal::StrLen ( const char *  str) [static]

Definition at line 214 of file demangle.cc.

static bool absl::debugging_internal::StrPrefix ( const char *  str,
const char *  prefix 
) [static]

Definition at line 234 of file demangle.cc.

static bool absl::debugging_internal::ZeroOrMore ( ParseFunc  parse_func,
State *  state 
) [static]

Definition at line 336 of file demangle.cc.


Variable Documentation

Initial value:
 {
    {"v", "void", 0},
    {"w", "wchar_t", 0},
    {"b", "bool", 0},
    {"c", "char", 0},
    {"a", "signed char", 0},
    {"h", "unsigned char", 0},
    {"s", "short", 0},
    {"t", "unsigned short", 0},
    {"i", "int", 0},
    {"j", "unsigned int", 0},
    {"l", "long", 0},
    {"m", "unsigned long", 0},
    {"x", "long long", 0},
    {"y", "unsigned long long", 0},
    {"n", "__int128", 0},
    {"o", "unsigned __int128", 0},
    {"f", "float", 0},
    {"d", "double", 0},
    {"e", "long double", 0},
    {"g", "__float128", 0},
    {"z", "ellipsis", 0},
    {nullptr, nullptr, 0},
}

Definition at line 96 of file demangle.cc.

Definition at line 37 of file demangle.cc.

constexpr int absl::debugging_internal::kPrintfPointerFieldWidth = 2 + 2 * sizeof(void*) [static]

Definition at line 76 of file examine_stack.cc.

Initial value:
 {
    {"St", "", 0},
    {"Sa", "allocator", 0},
    {"Sb", "basic_string", 0},
    
    {"Ss", "string", 0},
    
    {"Si", "istream", 0},
    
    {"So", "ostream", 0},
    
    {"Sd", "iostream", 0},
    {nullptr, nullptr, 0},
}

Definition at line 122 of file demangle.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16