reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-objcopy/llvm-objcopy.cpp
  258   if (Config.InputFilename != "-") {
  259     if (auto EC = sys::fs::status(Config.InputFilename, Stat))
  260       return createFileError(Config.InputFilename, EC);
  267   switch (Config.InputFormat) {
  279     auto BufOrErr = MemoryBuffer::getFileOrSTDIN(Config.InputFilename);
  281       return createFileError(Config.InputFilename, BufOrErr.getError());
  282     FileBuffer FB(Config.OutputFilename);
  283     if (Error E = ProcessRaw(Config, *BufOrErr->get(), FB))
  287         createBinary(Config.InputFilename);
  289       return createFileError(Config.InputFilename, BinaryOrErr.takeError());
  292       if (Error E = executeObjcopyOnArchive(Config, *Ar))
  295       FileBuffer FB(Config.OutputFilename);
  296       if (Error E = executeObjcopyOnBinary(Config,
  303           restoreStatOnFile(Config.OutputFilename, Stat, Config.PreserveDates))
  303           restoreStatOnFile(Config.OutputFilename, Stat, Config.PreserveDates))
  306   if (!Config.SplitDWO.empty()) {
  309             restoreStatOnFile(Config.SplitDWO, Stat, Config.PreserveDates))
  309             restoreStatOnFile(Config.SplitDWO, Stat, Config.PreserveDates))