Lines Matching refs:InputFile

251                                                 ObjectFile &InputFile) {
262 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile,
274 static Error saveNonDebugInfo(const Options &Opts, ObjectFile &InputFile,
287 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile))
298 ObjectFile &InputFile) {
300 saveSeparateDebugInfo(Opts, InputFile);
305 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr))
314 ObjectFile &InputFile,
316 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) {
324 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) {
332 } else if (isa<ELFObjectFile<ELF32BE>>(&InputFile)) {
340 } else if (isa<ELFObjectFile<ELF64BE>>(&InputFile)) {
356 saveSeparateLinkedDebugInfo(const Options &Opts, ObjectFile &InputFile,
367 addSectionsFromLinkedData(Config, InputFile, LinkedDebugInfoBits))
374 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile,
387 ObjectFile &InputFile,
395 addSectionsFromLinkedData(Config, InputFile, LinkedDebugInfoBits))
400 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile);
407 static Error saveLinkedDebugInfo(const Options &Opts, ObjectFile &InputFile,
411 saveSeparateLinkedDebugInfo(Opts, InputFile,
417 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr))
420 if (Error Err = saveSingleLinkedDebugInfo(Opts, InputFile,
428 static Error saveCopyOfFile(const Options &Opts, ObjectFile &InputFile) {
436 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile);
443 static Error applyCLOptions(const struct Options &Opts, ObjectFile &InputFile) {
451 if (Error Err = linkDebugInfo(InputFile, Opts, OutStream))
455 saveLinkedDebugInfo(Opts, InputFile, std::move(LinkedDebugInfo)))
460 if (Error Err = splitDebugIntoSeparateFile(Opts, InputFile))
463 if (Error Err = saveCopyOfFile(Opts, InputFile))