Chromium Code Reviews| Index: base/debug/stack_trace_posix.cc |
| diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc |
| index eb5ee08a65e8ee8ab9c8024ff4b127d9bd276d40..8a4cc234892ac00753c3290fc1e41435aa9884d0 100644 |
| --- a/base/debug/stack_trace_posix.cc |
| +++ b/base/debug/stack_trace_posix.cc |
| @@ -43,6 +43,7 @@ namespace { |
| volatile sig_atomic_t in_signal_handler = 0; |
| +#if !defined(USE_SYMBOLIZE) && defined(_GLIBCXX__) |
|
Nico
2013/10/03 19:57:12
Err, this should be __GLIBCXX__ (note two leading
|
| // The prefix used for mangled symbols, per the Itanium C++ ABI: |
| // http://www.codesourcery.com/cxx-abi/abi.html#mangling |
| const char kMangledSymbolPrefix[] = "_Z"; |
| @@ -51,6 +52,7 @@ const char kMangledSymbolPrefix[] = "_Z"; |
| // (('a'..'z').to_a+('A'..'Z').to_a+('0'..'9').to_a + ['_']).join |
| const char kSymbolCharacters[] = |
| "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"; |
| +#endif // !defined(USE_SYMBOLIZE) && defined(_GLIBCXX__) |
| #if !defined(USE_SYMBOLIZE) |
| // Demangles C++ symbols in the given text. Example: |