Commit e2caf987 authored by Andrew Schwartzmeyer's avatar Andrew Schwartzmeyer

Export GetStackTrace

Necessary when building with BUILD_SHARED_LIBS=1.
parent f1d64f7d
......@@ -31,13 +31,14 @@
//
// Windows implementation - just use CaptureStackBackTrace
#include "config.h"
#include "port.h"
#include "stacktrace.h"
#include <DbgHelp.h>
_START_GOOGLE_NAMESPACE_
// If you change this function, also change GetStackFrames below.
GOOGLE_GLOG_DLL_DECL
int GetStackTrace(void** result, int max_depth, int skip_count) {
if (max_depth > 64) {
max_depth = 64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment