Skip to content

Commit

Permalink
[debugger] Enabling PPDB on Wasm. (dotnet#32188)
Browse files Browse the repository at this point in the history
We are investigating to turn on PPDB everywhere, but for now, WASM is already working using it.

Co-authored-by: Thays Grazia <thaystg@gmail.com>
  • Loading branch information
monojenkins and thaystg authored Feb 14, 2020
1 parent fd6bee6 commit 5be47ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mono/mono/metadata/debug-mono-ppdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <mono/utils/bsearch.h>
#include <mono/utils/mono-logger-internals.h>

#if HOST_WIN32
#if HOST_WIN32 || HOST_WASM
#include "../zlib/zlib.h"
#elif HAVE_SYS_ZLIB
#include <zlib.h>
Expand Down Expand Up @@ -173,7 +173,7 @@ mono_ppdb_load_file (MonoImage *image, const guint8 *raw_contents, int size)
}

// Temporarily disabled to unblock Roslyn
#if HOST_WIN32 //|| HAVE_SYS_ZLIB
#if HOST_WIN32 || HOST_WASM
if (ppdb_data) {
/* Embedded PPDB data */
/* ppdb_size is the uncompressed size */
Expand Down

0 comments on commit 5be47ef

Please sign in to comment.