| ... | ... | @@ -1380,7 +1380,8 @@ pub const Object = struct { |
| 1380 | 1380 | } else { |
| 1381 | 1381 | _ = try attributes.removeFnAttr(.sanitize_thread); |
| 1382 | 1382 | } |
| 1383 | | if (owner_mod.fuzz and !func_analysis.disable_instrumentation) { |
| 1383 | const is_naked = fn_info.cc == .Naked; |
| 1384 | if (owner_mod.fuzz and !func_analysis.disable_instrumentation and !is_naked) { |
| 1384 | 1385 | try attributes.addFnAttr(.optforfuzzing, &o.builder); |
| 1385 | 1386 | _ = try attributes.removeFnAttr(.skipprofile); |
| 1386 | 1387 | _ = try attributes.removeFnAttr(.nosanitize_coverage); |