pub fn debug_id_for_object<'data: 'file, 'file>(
    obj: &'file impl Object<'data, 'file>
) -> Option<DebugId>
Expand description

Tries to obtain a DebugId for an object. This uses the build ID, if available, and falls back to hashing the first page of the text section otherwise. Returns None on failure.