search for: arraylengthof

Displaying 1 result from an estimated 1 matches for "arraylengthof".

Did you mean: array_lengthof
2008 Sep 05
0
[LLVMdev] Demangling question
...#if HAVE_CXXABI_H #include <cxxabi.h> #endif /// .... static void PrintStackTrace(int skipFrames) { #ifdef HAVE_BACKTRACE // Use backtrace() to output a backtrace on Linux systems with glibc. int depth = backtrace(stackTrace, static_cast<int>(arrayLengthOf(StackTrace))); #ifdef HAVE_CXXABI_H if (char ** symbols = backtrace_symbols(StackTrace, depth)) { // Name buffer used to contain demangling result. size_t sz = 256; char * buffer = (char *)malloc(sz); for (int i = 0; i < depth; ++i) {...