link+macho+fuzz: use correct input type

A debug build of the compiler detects invalid union access since `classifyInputFile`
detects `.archive` and this line constructed a `.object` input.
This commit is contained in:
tjog 2025-05-03 17:17:07 +02:00 committed by Alex Rønne Petersen
parent 566e4ab6b1
commit f592674642
No known key found for this signature in database

View File

@ -416,7 +416,7 @@ pub fn flushModule(
}
if (comp.config.any_fuzz) {
try positionals.append(try link.openObjectInput(diags, comp.fuzzer_lib.?.full_object_path));
try positionals.append(try link.openArchiveInput(diags, comp.fuzzer_lib.?.full_object_path, false, false));
}
if (comp.ubsan_rt_lib) |crt_file| {