First set of licensing changes
[mono.git] / mono / metadata / debug-mono-ppdb.h
1 /*
2  * debug-mono-ppdb.c: Support for the portable PDB symbol
3  * file format
4  *
5  *
6  * Author:
7  *      Mono Project (http://www.mono-project.com)
8  *
9  * Copyright 2015 Xamarin Inc (http://www.xamarin.com)
10  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
11  */
12
13 #ifndef __MONO_METADATA_DEBUG_MONO_PPDB_H__
14 #define __MONO_METADATA_DEBUG_MONO_PPDB_H__
15
16 #include <config.h>
17 #include <mono/metadata/metadata-internals.h>
18 #include <mono/metadata/mono-debug.h>
19
20 MonoPPDBFile*
21 mono_ppdb_load_file (MonoImage *image, const guint8 *raw_contents, int size);
22
23 void
24 mono_ppdb_close (MonoDebugHandle *handle);
25
26 MonoDebugMethodInfo *
27 mono_ppdb_lookup_method (MonoDebugHandle *handle, MonoMethod *method);
28
29 MonoDebugSourceLocation *
30 mono_ppdb_lookup_location (MonoDebugMethodInfo *minfo, uint32_t offset);
31
32 void
33 mono_ppdb_get_seq_points (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int **source_files, MonoSymSeqPoint **seq_points, int *n_seq_points);
34
35 MonoDebugLocalsInfo*
36 mono_ppdb_lookup_locals (MonoDebugMethodInfo *minfo);
37
38 #endif