Searched refs:main_func (Results 1 – 10 of 10) sorted by relevance
25 if(module->main_func) return EXEC_MODULE; in get_module_type()52 if (module->main_func == NULL) {107 else if (!module->main_func)110 exit((module->main_func)(argc, args)); /* Actually run! */210 else if (!module->main_func) in spawn_load()213 exit((module->main_func)(argc, argv)); /* Actually run! */ in spawn_load()
263 module->main_func = in module_load()
75 Function *main_func = cast<Function>(mod-> in addMainFunction() local81 Function::arg_iterator args = main_func->arg_begin(); in addMainFunction()89 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction()
60 Function *main_func = cast<Function>(mod-> in addMainFunction() local66 Function::arg_iterator args = main_func->arg_begin(); in addMainFunction()74 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction()
98 module_main_t main_func; // The main function (for executable modules) member
134 module->main_func == NULL ? "library" : "program"); in process_list()
4412 int (*main_func)(int argc, const char **argv); member4419 client_data->result = client_data->main_func(client_data->argc, in thread_runner()4439 client_data.main_func = cindextest_main; in main()4444 client_data.main_func = indextest_core_main; in main()4447 return client_data.main_func(client_data.argc, client_data.argv); in main()
17652 PASS: gdb.python/py-symbol.exp: Test main_func.is_function
17293 PASS: gdb.python/py-symbol.exp: Test main_func.is_function
17384 PASS: gdb.python/py-symbol.exp: Test main_func.is_function