@classmethod
def _object_getbuffer_hook(cls, ll_module):
    """
        Return a cached object code for `ll_module`.
        """
    try:
        self = ll_module.__library
    except AttributeError:
        return
    if self._object_caching_enabled and self._compiled_object:
        buf = self._compiled_object
        self._compiled_object = None
        return buf
