/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
H A D | llvm-objcopy.cpp | 66 static StringRef ToolName; variable 70 WithColor::warning(errs(), ToolName) << toString(std::move(E)) << '\n'; in reportWarning() 75 StringRef Stem = sys::path::stem(ToolName); in getDriverConfig() 227 ToolName = argv[0]; in llvm_objcopy_main() 247 WithColor::error(errs(), ToolName)); in llvm_objcopy_main() 252 logAllUnhandledErrors(std::move(E), WithColor::error(errs(), ToolName)); in llvm_objcopy_main()
|
H A D | ObjcopyOptions.cpp | 413 StringRef HelpText, ToolName; in printHelp() local 416 ToolName = "llvm-objcopy"; in printHelp() 420 ToolName = "llvm-strip"; in printHelp() 424 ToolName = "llvm-install-name-tool"; in printHelp() 428 ToolName = "llvm-bitcode-strip"; in printHelp() 432 OptTable.printHelp(OS, (ToolName + HelpText).str().c_str(), in printHelp() 433 (ToolName + " tool").str().c_str()); in printHelp()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-strings/ |
H A D | llvm-strings.cpp | 64 static StringRef ToolName; in StringsOptTable() 76 WithColor::error(errs(), ToolName) << Message << "\n"; 131 ToolName = argv[0]; in strings() 138 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in main() 145 outs() << ToolName << '\n'; in main() 71 static StringRef ToolName; global() variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
H A D | llvm-cxxfilt.cpp | 60 static StringRef ToolName; in CxxfiltOptTable() 63 WithColor::error(errs(), ToolName) << Message << '\n'; 151 ToolName = argv[0]; in llvm_cxxfilt_main() 156 (Twine(ToolName) + " [options] <mangled>").str().c_str(), in llvm_cxxfilt_main() 163 outs() << ToolName << '\n'; in llvm_cxxfilt_main() 67 static StringRef ToolName; global() variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
H A D | llvm-symbolizer.cpp | 81 static std::string ToolName; variable 84 WithColor::error(errs(), ToolName); in printError() 371 static void printHelp(StringRef ToolName, const SymbolizerOptTable &Tbl, in printHelp() argument 374 Tbl.printHelp(OS, (ToolName + HelpText).str().c_str(), in printHelp() 375 ToolName.str().c_str()); in printHelp() 383 StringRef ToolName = IsAddr2Line ? "llvm-addr2line" : "llvm-symbolizer"; in parseOptions() local 397 printHelp(ToolName, Tbl, outs()); in parseOptions() 401 outs() << ToolName << '\n'; in parseOptions() 474 ToolName = argv[0]; in llvm_symbolizer_main() 475 bool IsAddr2Line = sys::path::stem(ToolName).contains("addr2line"); in llvm_symbolizer_main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
H A D | llvm-debuginfo-analyzer.cpp | 29 static StringRef ToolName = "llvm-debuginfo-analyzer"; variable 37 WithColor::error(errs(), ToolName) << Stream.str() << "\n"; in error() 46 WithColor::error(errs(), ToolName) << EI.message() << ".\n"; in error()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | ExecutionDriver.cpp | 263 errs() << ToolName in compileProgram() 270 errs() << ToolName << ": Error emitting bitcode to file '" << Temp->TmpName in compileProgram() 298 errs() << ToolName << ": Error making unique filename: " << EC.message() in executeProgram() 305 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile in executeProgram() 323 errs() << ToolName << ": Error making unique filename: " << EC.message() in executeProgram()
|
H A D | BugDriver.h | 46 const char *ToolName; // argv[0] of bugpoint 67 const char *getToolName() const { return ToolName; } 47 const char *ToolName; // argv[0] of bugpoint global() variable
|
H A D | BugDriver.cpp | 80 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile), in BugDriver()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | Tooling.cpp | 195 getSyntaxOnlyToolArgs(const Twine &ToolName, in getSyntaxOnlyToolArgs() argument 199 Args.push_back(ToolName.str()); in getSyntaxOnlyToolArgs() 213 const Twine &ToolName, in runToolOnCodeWithArgs() argument 222 getSyntaxOnlyToolArgs(ToolName, Adjuster(Args, FileNameRef), FileNameRef), in runToolOnCodeWithArgs() 230 const Twine &ToolName, in runToolOnCodeWithArgs() argument 251 Args, FileName, ToolName); in runToolOnCodeWithArgs() 690 StringRef ToolName, std::shared_ptr<PCHContainerOperations> PCHContainerOps, in buildASTFromCodeWithArgs() argument 704 getSyntaxOnlyToolArgs(ToolName, Adjuster(Args, FileName), FileName), in buildASTFromCodeWithArgs()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 57 static StringRef ToolName; variable 62 static void printRanLibHelp(StringRef ToolName) { in printRanLibHelp() argument 65 << "USAGE: " + ToolName + " archive...\n\n" in printRanLibHelp() 76 static void printArHelp(StringRef ToolName) { in printArHelp() argument 130 << "USAGE: " + ToolName + in printArHelp() 133 << " " + ToolName + " -M [<mri-script]\n\n"; in printArHelp() 150 WithColor::error(errs(), ToolName) << Error << "\n"; in badUsage() 158 WithColor::error(errs(), ToolName) in fail() 161 WithColor::error(errs(), ToolName) << Error << "\n"; in fail() 189 WithColor::warning(errs(), ToolName) << Message << "\n"; in warn() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 80 static std::string ToolName; 94 WithColor::error(errs(), ToolName) << Message << '\n'; 96 WithColor::error(errs(), ToolName) 101 // "libx.a(foo.o)" after the ToolName before the error message. It sets in error() 106 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 128 // This version of error() prints the file name and which architecture slice it // is from, for example: "foo.o (for architecture i386)" after the ToolName in error() 134 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 868 ToolName = argv[0]; in printBerkeleyTotals() 877 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_size_main() 884 outs() << ToolName << '\ in llvm_size_main() 89 static std::string ToolName; global() variable [all...] |
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | llvm-readobj.cpp | 173 static StringRef ToolName; variable 181 WithColor::error(errs(), ToolName) << Msg << "\n"; in error() 204 WithColor::warning(errs(), ToolName) << EI.message() << "\n"; in reportWarning() 217 WithColor::warning(errs(), ToolName) in parseOptions() 644 ToolName = argv[0]; in llvm_readobj_main() 653 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_readobj_main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
H A D | llvm-dwarfutil.cpp | 64 std::string ToolName; in DwarfutilOptTable() 477 ToolName = Argv[0]; 488 outs(), (ToolName + " [options] <input file> <output file>").c_str(), in main() 500 error(std::move(Err), dwarfutil::ToolName); in main() 71 std::string ToolName; global() variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 139 static StringRef ToolName; variable 150 WithColor::warning(errs(), ToolName) in warn() 159 WithColor::error(errs(), ToolName) << Path << ": " << Message << "\n"; in error() 176 WithColor::error(errs(), ToolName) << FileName; in error() 205 WithColor::error(errs(), ToolName) << FileName; in error() 1803 WithColor::warning(errs(), ToolName) in getSymbolNamesFromObject() 2096 WithColor::warning(errs(), ToolName) in dumpArchive() 2341 WithColor::warning(errs(), ToolName) in dumpSymbolicFile() 2406 ToolName = argv[0]; in llvm_nm_main() 2415 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_nm_main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 358 static StringRef ToolName; variable 460 WithColor::warning(errs(), ToolName) in reportWarning() 466 WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n"; in reportError() 475 WithColor::error(errs(), ToolName); in reportError() 488 WithColor::warning(errs(), ToolName) << Message << "\n"; in reportCmdLineWarning() 492 WithColor::error(errs(), ToolName) << Message << "\n"; in reportCmdLineError() 3072 WithColor::error(errs(), ToolName) in printUnwindInfo() 3081 WithColor::error(errs(), ToolName) in printRawClangAST() 3123 WithColor::error(errs(), ToolName) in printFaultMaps() 3179 WithColor::error(errs(), ToolName) << "ill-formed archive entry.\n"; in printArchiveChild() [all …]
|