Skip to content

Commit

Permalink
Remove warnings related to execinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
nizox committed Aug 20, 2020
1 parent fb20b5d commit f66447b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/debug/stack_trace_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ namespace {
volatile sig_atomic_t in_signal_handler = 0;
bool dump_stack_in_signal_handler = true;

#if HAVE_EXECINFO_H
// The prefix used for mangled symbols, per the Itanium C++ ABI:
// http://www.codesourcery.com/cxx-abi/abi.html#mangling
const char kMangledSymbolPrefix[] = "_Z";
Expand All @@ -72,7 +73,6 @@ const char kMangledSymbolPrefix[] = "_Z";
const char kSymbolCharacters[] =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";

#if HAVE_EXECINFO_H
// Demangles C++ symbols in the given text. Example:
//
// "out/Debug/base_unittests(_ZN10StackTraceC1Ev+0x20) [0x817778c]"
Expand Down

0 comments on commit f66447b

Please sign in to comment.