Completely replace mono_error_ok with is_ok and make first external_only. (#16217)
[mono-project.git] / mono / metadata / debug-mono-ppdb.h
blob503a6409ff0cb605ffb0458190920e693e5570dc
1 /**
2 * \file
3 * Support for the portable PDB symbol file format
6 * Author:
7 * Mono Project (http://www.mono-project.com)
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.
13 #ifndef __MONO_METADATA_DEBUG_MONO_PPDB_H__
14 #define __MONO_METADATA_DEBUG_MONO_PPDB_H__
16 #include <config.h>
17 #include <mono/metadata/metadata-internals.h>
18 #include <mono/metadata/mono-debug.h>
20 MonoPPDBFile*
21 mono_ppdb_load_file (MonoImage *image, const guint8 *raw_contents, int size);
23 void
24 mono_ppdb_close (MonoDebugHandle *handle);
26 MonoDebugMethodInfo *
27 mono_ppdb_lookup_method (MonoDebugHandle *handle, MonoMethod *method);
29 MonoDebugSourceLocation *
30 mono_ppdb_lookup_location (MonoDebugMethodInfo *minfo, uint32_t offset);
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);
35 MonoDebugLocalsInfo*
36 mono_ppdb_lookup_locals (MonoDebugMethodInfo *minfo);
38 MonoDebugMethodAsyncInfo*
39 mono_ppdb_lookup_method_async_debug_info (MonoDebugMethodInfo *minfo);
41 MonoImage *
42 mono_ppdb_get_image (MonoPPDBFile *ppdb);
44 char *
45 mono_ppdb_get_sourcelink (MonoDebugHandle *handle);
47 #endif