1
0

Removed the LeakFinder for Windows. (#3777)

This commit is contained in:
Mattes D
2017-06-19 11:05:19 +02:00
committed by GitHub
parent bb020bbe78
commit 7ac3b0fa0b
23 changed files with 1459 additions and 2916 deletions

View File

@@ -6,7 +6,7 @@
#include "Globals.h"
#include "StackTrace.h"
#ifdef _WIN32
#include "../StackWalker.h"
#include "WinStackWalker.h"
#elif !defined(ANDROID) // The Android NDK has no execinfo header
#ifdef __GLIBC__
#include <execinfo.h>
@@ -21,10 +21,8 @@
void PrintStackTrace(void)
{
#ifdef _WIN32
// Reuse the StackWalker from the LeakFinder project already bound to MCS
// Define a subclass of the StackWalker that outputs everything to stdout
class PrintingStackWalker :
public StackWalker
class PrintingStackWalker:
public WinStackWalker
{
virtual void OnOutput(LPCSTR szText) override
{