Lines Matching defs:InputFile
253 ObjectFile &InputFile) {
264 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile,
276 static Error saveNonDebugInfo(const Options &Opts, ObjectFile &InputFile,
289 objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile))
300 ObjectFile &InputFile) {
302 saveSeparateDebugInfo(Opts, InputFile);
307 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr))
316 ObjectFile &InputFile,
318 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) {
326 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) {
334 } else if (isa<ELFObjectFile<ELF32BE>>(&InputFile)) {
342 } else if (isa<ELFObjectFile<ELF64BE>>(&InputFile)) {
358 saveSeparateLinkedDebugInfo(const Options &Opts, ObjectFile &InputFile,
369 addSectionsFromLinkedData(Config, InputFile, LinkedDebugInfoBits))
376 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile,
389 ObjectFile &InputFile,
397 addSectionsFromLinkedData(Config, InputFile, LinkedDebugInfoBits))
402 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile);
409 static Error saveLinkedDebugInfo(const Options &Opts, ObjectFile &InputFile,
413 saveSeparateLinkedDebugInfo(Opts, InputFile,
419 saveNonDebugInfo(Opts, InputFile, *SeparateDebugFileCRC32OrErr))
422 if (Error Err = saveSingleLinkedDebugInfo(Opts, InputFile,
430 static Error saveCopyOfFile(const Options &Opts, ObjectFile &InputFile) {
438 return objcopy::executeObjcopyOnBinary(Config, InputFile, OutFile);
445 static Error applyCLOptions(const struct Options &Opts, ObjectFile &InputFile) {
453 if (Error Err = linkDebugInfo(InputFile, Opts, OutStream))
457 saveLinkedDebugInfo(Opts, InputFile, std::move(LinkedDebugInfo)))
462 if (Error Err = splitDebugIntoSeparateFile(Opts, InputFile))
465 if (Error Err = saveCopyOfFile(Opts, InputFile))