Skip to content

Commit 8d5e782

Browse files
richard-finejoncham
authored andcommitted
Expose mono_debug_lookup_source_location_by_il
1 parent 04d0eb7 commit 8d5e782

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mono/metadata/debug-internals.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,4 @@ mono_debug_free_method_async_debug_info (MonoDebugMethodAsyncInfo *info);
8484
gboolean
8585
mono_debug_image_has_debug_info (MonoImage *image);
8686

87-
MonoDebugSourceLocation *
88-
mono_debug_lookup_source_location_by_il (MonoMethod *method, guint32 il_offset, MonoDomain *domain);
89-
9087
#endif /* __DEBUG_INTERNALS_H__ */

mono/metadata/mono-debug.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ mono_debug_method_lookup_location (MonoDebugMethodInfo *minfo, int il_offset);
201201
MONO_API MonoDebugSourceLocation *
202202
mono_debug_lookup_source_location (MonoMethod *method, uint32_t address, MonoDomain *domain);
203203

204+
MONO_API MonoDebugSourceLocation *
205+
mono_debug_lookup_source_location_by_il (MonoMethod *method, uint32_t il_offset, MonoDomain *domain);
206+
204207
MONO_API int32_t
205208
mono_debug_il_offset_from_address (MonoMethod *method, MonoDomain *domain, uint32_t native_offset);
206209

0 commit comments

Comments
 (0)