code: def _emit_to_memory(self, module, use_object=False):
          
          with ffi.OutputString() as outerr:
              mb = ffi.lib.LLVMPY_TargetMachineEmitToMemory(self, module,
                                                            int(use_object),
                                                            outerr)
              if not mb:
                  raise RuntimeError(str(outerr))
  
          bufptr = ffi.lib.LLVMPY_GetBufferStart(mb)
          bufsz = ffi.lib.LLVMPY_GetBufferSize(mb)
          try:
              return string_at(bufptr, bufsz)
          finally:
              ffi.lib.LLVMPY_DisposeMemoryBuffer(mb)
docs: Returns bytes of object code of the module.
  
          Args
          ----
          use_object : bool
              Emit object code or (if False) emit assembly code.