[test] SRE ILGenerator test for methodref and fieldref token caching
[mono.git] / mono / metadata / debug-mono-ppdb.h
index ec55eeec2a8709a061ad7b4108b95afd6ef6c0d8..87033e728cfe4d7be009413f929b8d502f915a72 100644 (file)
@@ -1,12 +1,13 @@
-/*
- * debug-mono-ppdb.c: Support for the portable PDB symbol
- * file format
+/**
+ * \file
+ * Support for the portable PDB symbol file format
  *
  *
  * Author:
  *     Mono Project (http://www.mono-project.com)
  *
  * Copyright 2015 Xamarin Inc (http://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
  */
 
 #ifndef __MONO_METADATA_DEBUG_MONO_PPDB_H__
 
 #include <config.h>
 #include <mono/metadata/metadata-internals.h>
+#include <mono/metadata/mono-debug.h>
 
-MonoImage*
-mono_ppdb_load_file (MonoImage *image);
+MonoPPDBFile*
+mono_ppdb_load_file (MonoImage *image, const guint8 *raw_contents, int size);
 
 void
 mono_ppdb_close (MonoDebugHandle *handle);
@@ -27,4 +29,13 @@ mono_ppdb_lookup_method (MonoDebugHandle *handle, MonoMethod *method);
 MonoDebugSourceLocation *
 mono_ppdb_lookup_location (MonoDebugMethodInfo *minfo, uint32_t offset);
 
+void
+mono_ppdb_get_seq_points (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int **source_files, MonoSymSeqPoint **seq_points, int *n_seq_points);
+
+MonoDebugLocalsInfo*
+mono_ppdb_lookup_locals (MonoDebugMethodInfo *minfo);
+
+MonoDebugMethodAsyncInfo*
+mono_ppdb_lookup_method_async_debug_info (MonoDebugMethodInfo *minfo);
+
 #endif