'Serialize this library using its bitcode as the cached representation.'

@llvmts.lock_llvm
def serialize_using_bitcode(self):

    self._ensure_finalized()
    return (self._name, 'bitcode', self._final_module.as_bitcode())
