Lines Matching defs:file
5 // This file is distributed under the University of Illinois Open Source
74 outs() << ToolName << ": error reading file: " << ec.message() << ".\n";
234 /// @brief Print the section sizes for @p file. If @p file is an archive, print
236 static void PrintFileSectionSizes(StringRef file) {
237 // If file is not stdin, check that it exists.
238 if (file != "-") {
240 if (sys::fs::exists(file, exists) || !exists) {
241 errs() << ToolName << ": '" << file << "': " << "No such file\n";
248 if (error_code ec = createBinary(file, binary)) {
249 errs() << ToolName << ": " << file << ": " << ec.message() << ".\n";
259 errs() << ToolName << ": " << file << ": " << ec.message() << ".\n";
278 errs() << ToolName << ": " << file << ": " << "Unrecognized file type.\n";
280 // System V adds an extra newline at the end of each file.