Skip to content

Commit

Permalink
Expose mono_debug_lookup_source_location_by_il
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-fine committed Apr 23, 2018
1 parent 9622b85 commit faac8d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mono/metadata/debug-internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,4 @@ mono_debug_free_method_async_debug_info (MonoDebugMethodAsyncInfo *info);
gboolean
mono_debug_image_has_debug_info (MonoImage *image);

MonoDebugSourceLocation *
mono_debug_lookup_source_location_by_il (MonoMethod *method, guint32 il_offset, MonoDomain *domain);

#endif /* __DEBUG_INTERNALS_H__ */
3 changes: 3 additions & 0 deletions mono/metadata/mono-debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ mono_debug_method_lookup_location (MonoDebugMethodInfo *minfo, int il_offset);
MONO_API MonoDebugSourceLocation *
mono_debug_lookup_source_location (MonoMethod *method, uint32_t address, MonoDomain *domain);

MONO_API MonoDebugSourceLocation *
mono_debug_lookup_source_location_by_il (MonoMethod *method, uint32_t il_offset, MonoDomain *domain);

MONO_API int32_t
mono_debug_il_offset_from_address (MonoMethod *method, MonoDomain *domain, uint32_t native_offset);

Expand Down

0 comments on commit faac8d5

Please sign in to comment.