def _define_nrt_unresolved_abort(ctx, module):
 fnty = ctx.call_conv.get_function_type(types.none, ())
 fn = ir.Function(module, fnty, name='nrt_unresolved_abort')
 bb = fn.append_basic_block()
 builder = ir.IRBuilder(bb)
 msg = 'numba jitted function aborted due to unresolved symbol'
 ctx.call_conv.return_user_exc(builder, RuntimeError, (msg,))
 return fn

def _define_nrt_unresolved_abort ( ctx , module ) : fnty = ctx . call_conv . get_function_type ( types . none , ( ) ) fn = ir . Function ( module , fnty , name = 'nrt_unresolved_abort' ) bb = fn . append_basic_block ( ) builder = ir . IRBuilder ( bb ) msg = 'numba jitted function aborted due to unresolved symbol' ctx . call_conv . return_user_exc ( builder , RuntimeError , ( msg , ) ) return fn
defines an abort function due to unresolved symbol .