Lines Matching refs:compiler_mode
162 u8 compiler_mode, plusplus_mode, lto_mode; member
603 aflcc->compiler_mode = LLVM; in compiler_mode_by_callname()
605 aflcc->compiler_mode = CLANG; in compiler_mode_by_callname()
616 aflcc->compiler_mode = LTO; in compiler_mode_by_callname()
626 aflcc->compiler_mode = GCC_PLUGIN; in compiler_mode_by_callname()
632 aflcc->compiler_mode = GCC; in compiler_mode_by_callname()
638 aflcc->compiler_mode = CLANG; in compiler_mode_by_callname()
660 if (aflcc->compiler_mode) { in compiler_mode_by_environ()
675 aflcc->compiler_mode = LTO; in compiler_mode_by_environ()
679 aflcc->compiler_mode = LLVM; in compiler_mode_by_environ()
686 aflcc->compiler_mode = GCC_PLUGIN; in compiler_mode_by_environ()
690 aflcc->compiler_mode = GCC; in compiler_mode_by_environ()
694 aflcc->compiler_mode = CLANG; in compiler_mode_by_environ()
727 if (aflcc->compiler_mode && !be_quiet) { in compiler_mode_by_cmdline()
742 aflcc->compiler_mode = LTO; in compiler_mode_by_cmdline()
746 aflcc->compiler_mode = LLVM; in compiler_mode_by_cmdline()
752 aflcc->compiler_mode = LLVM; in compiler_mode_by_cmdline()
767 aflcc->compiler_mode = LLVM; in compiler_mode_by_cmdline()
775 aflcc->compiler_mode = LLVM; in compiler_mode_by_cmdline()
783 aflcc->compiler_mode = GCC_PLUGIN; in compiler_mode_by_cmdline()
787 aflcc->compiler_mode = GCC; in compiler_mode_by_cmdline()
791 aflcc->compiler_mode = CLANG; in compiler_mode_by_cmdline()
983 aflcc->compiler_mode = GCC; in instrument_mode_new_environ()
997 aflcc->compiler_mode = CLANG; in instrument_mode_new_environ()
1151 if (aflcc->instrument_opt_mode && aflcc->compiler_mode != LLVM) in instrument_opt_mode_exclude()
1172 (aflcc->compiler_mode == LLVM || aflcc->compiler_mode == UNSET)) { in mode_final_checkout()
1175 aflcc->compiler_mode = LLVM; in mode_final_checkout()
1179 if (!aflcc->compiler_mode) { in mode_final_checkout()
1184 aflcc->compiler_mode = LLVM; in mode_final_checkout()
1186 aflcc->compiler_mode = GCC_PLUGIN; in mode_final_checkout()
1188 aflcc->compiler_mode = GCC; in mode_final_checkout()
1190 aflcc->compiler_mode = CLANG; in mode_final_checkout()
1192 aflcc->compiler_mode = LTO; in mode_final_checkout()
1198 switch (aflcc->compiler_mode) { in mode_final_checkout()
1230 if (aflcc->compiler_mode == GCC) { aflcc->instrument_mode = INSTRUMENT_GCC; } in mode_final_checkout()
1232 if (aflcc->compiler_mode == CLANG) { in mode_final_checkout()
1251 if (aflcc->compiler_mode == LTO) { in mode_final_checkout()
1283 if (aflcc->instrument_mode == 0 && aflcc->compiler_mode < GCC_PLUGIN) { in mode_final_checkout()
1330 aflcc->compiler_mode = LTO; in mode_final_checkout()
1396 compiler_mode_2str(aflcc->compiler_mode), ptr1); in mode_notification()
1403 (aflcc->compiler_mode == GCC || aflcc->compiler_mode == CLANG)) { in mode_notification()
1435 if (aflcc->compiler_mode == GCC || aflcc->compiler_mode == GCC_PLUGIN) { in add_real_argv0()
1439 } else if (aflcc->compiler_mode == CLANG) { in add_real_argv0()
1464 if (aflcc->compiler_mode == GCC || aflcc->compiler_mode == GCC_PLUGIN) { in add_real_argv0()
1468 } else if (aflcc->compiler_mode == CLANG) { in add_real_argv0()
1547 if (aflcc->compiler_mode == GCC || aflcc->compiler_mode == CLANG) return; in add_defs_persistent_mode()
1890 if (aflcc->compiler_mode == GCC_PLUGIN && !aflcc->have_staticasan) { in add_sanitizers()
1959 if (aflcc->compiler_mode == GCC_PLUGIN || aflcc->compiler_mode == GCC) { in add_sanitizers()
2368 if (aflcc->compiler_mode != GCC_PLUGIN && aflcc->compiler_mode != GCC && in add_runtime()
2390 if (aflcc->compiler_mode != GCC && aflcc->compiler_mode != CLANG) { in add_runtime()
2470 if (aflcc->compiler_mode == CLANG) insert_param(aflcc, "-no-integrated-as"); in add_assembler()
2651 } else if (!strcmp(cur_argv, "-pipe") && aflcc->compiler_mode == GCC_PLUGIN) { in parse_misc_params()
2660 (aflcc->compiler_mode == GCC || in parse_misc_params()
2661 aflcc->compiler_mode == GCC_PLUGIN)) { in parse_misc_params()
2745 aflcc->compiler_mode == LLVM ? " [SELECTED]" : "", in maybe_usage()
2749 aflcc->compiler_mode == LTO ? " [SELECTED]" : "", in maybe_usage()
2751 aflcc->compiler_mode == GCC_PLUGIN ? " [SELECTED]" : "", in maybe_usage()
2757 (aflcc->compiler_mode == GCC || aflcc->compiler_mode == CLANG) in maybe_usage()
3291 if (aflcc->compiler_mode != GCC_PLUGIN && aflcc->compiler_mode != GCC) { in edit_params()
3297 if (aflcc->compiler_mode == GCC || aflcc->compiler_mode == CLANG) { in edit_params()
3303 if (aflcc->compiler_mode == GCC_PLUGIN) { add_gcc_plugin(aflcc); } in edit_params()
3305 if (aflcc->compiler_mode == LLVM || aflcc->compiler_mode == LTO) { in edit_params()