| /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 52 static StringRef ToolName; variable 56 WithColor::warning(errs(), ToolName) << toString(std::move(E)) << '\n'; in reportWarning() 61 StringRef Stem = sys::path::stem(ToolName); in getDriverConfig() 213 ToolName = argv[0]; in llvm_objcopy_main() 233 WithColor::error(errs(), ToolName)); in llvm_objcopy_main() 242 logAllUnhandledErrors(std::move(E), WithColor::error(errs(), ToolName)); in llvm_objcopy_main()
|
| H A D | ObjcopyOptions.cpp | 425 StringRef HelpText, ToolName; in printHelp() local 428 ToolName = "llvm-objcopy"; in printHelp() 432 ToolName = "llvm-strip"; in printHelp() 436 ToolName = "llvm-install-name-tool"; in printHelp() 440 ToolName = "llvm-bitcode-strip"; in printHelp() 444 OptTable.printHelp(OS, (ToolName + HelpText).str().c_str(), in printHelp() 445 (ToolName + " tool").str().c_str()); in printHelp()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-strings/ |
| H A D | llvm-strings.cpp | 66 static StringRef ToolName; variable 78 WithColor::error(errs(), ToolName) << Message << "\n"; in reportCmdLineError() 133 ToolName = argv[0]; in main() 140 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in main() 147 outs() << ToolName << '\n'; in main()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cxxfilt/ |
| H A D | llvm-cxxfilt.cpp | 63 static StringRef ToolName; variable 66 WithColor::error(errs(), ToolName) << Message << '\n'; in error() 164 ToolName = argv[0]; in llvm_cxxfilt_main() 169 (Twine(ToolName) + " [options] <mangled>").str().c_str(), in llvm_cxxfilt_main() 176 outs() << ToolName << '\n'; in llvm_cxxfilt_main()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 83 static std::string ToolName; variable 86 WithColor::error(errs(), ToolName); in printError() 376 static void printHelp(StringRef ToolName, const SymbolizerOptTable &Tbl, in printHelp() argument 379 Tbl.printHelp(OS, (ToolName + HelpText).str().c_str(), in printHelp() 380 ToolName.str().c_str()); in printHelp() 388 StringRef ToolName = IsAddr2Line ? "llvm-addr2line" : "llvm-symbolizer"; in parseOptions() local 402 printHelp(ToolName, Tbl, outs()); in parseOptions() 406 outs() << ToolName << '\n'; in parseOptions() 479 ToolName = argv[0]; in llvm_symbolizer_main() 480 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) << Buffer << "\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 | 192 getSyntaxOnlyToolArgs(const Twine &ToolName, in getSyntaxOnlyToolArgs() argument 196 Args.push_back(ToolName.str()); in getSyntaxOnlyToolArgs() 210 const Twine &ToolName, in runToolOnCodeWithArgs() argument 219 getSyntaxOnlyToolArgs(ToolName, Adjuster(Args, FileNameRef), FileNameRef), in runToolOnCodeWithArgs() 227 const Twine &ToolName, in runToolOnCodeWithArgs() argument 248 Args, FileName, ToolName); in runToolOnCodeWithArgs() 689 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 | 84 static std::string ToolName; variable 98 WithColor::error(errs(), ToolName) << Message << '\n'; in error() 100 WithColor::error(errs(), ToolName) in error() 110 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 138 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error() 871 ToolName = argv[0]; in llvm_size_main() 880 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_size_main() 887 outs() << ToolName << '\n'; in llvm_size_main() 923 outs() << ToolName << ": for the -arch option: Unknown architecture " in llvm_size_main()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | llvm-readobj.cpp | 175 static StringRef ToolName; variable 183 WithColor::error(errs(), ToolName) << Msg << "\n"; in error() 206 WithColor::warning(errs(), ToolName) << EI.message() << "\n"; in reportWarning() 219 WithColor::warning(errs(), ToolName) in parseOptions() 663 ToolName = argv[0]; in llvm_readobj_main() 672 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_readobj_main()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | Tooling.h | 189 const Twine &ToolName = "clang-tool", 199 const Twine &ToolName = "clang-tool", 235 StringRef FileName = "input.cc", StringRef ToolName = "clang-tool",
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 66 std::string ToolName; variable 479 ToolName = Argv[0]; in main() 490 outs(), (ToolName + " [options] <input file> <output file>").c_str(), in main() 502 error(std::move(Err), dwarfutil::ToolName); in main()
|
| /freebsd/contrib/llvm-project/clang/tools/clang-scan-deps/ |
| H A D | ClangScanDeps.cpp | 112 llvm::StringRef ToolName = argv[0]; in ParseArgs() local 124 llvm::outs() << ToolName << '\n'; in ParseArgs() 136 llvm::errs() << ToolName in ParseArgs() 152 llvm::errs() << ToolName in ParseArgs() 177 << ToolName in ParseArgs() 198 llvm::errs() << ToolName << ": for the -j option: '" << S in ParseArgs() 225 llvm::errs() << ToolName in ParseArgs()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 141 static StringRef ToolName; variable 152 WithColor::warning(errs(), ToolName) in warn() 161 WithColor::error(errs(), ToolName) << Path << ": " << Message << "\n"; in error() 178 WithColor::error(errs(), ToolName) << FileName; in error() 207 WithColor::error(errs(), ToolName) << FileName; in error() 1805 WithColor::warning(errs(), ToolName) in getSymbolNamesFromObject() 2098 WithColor::warning(errs(), ToolName) in dumpArchive() 2343 WithColor::warning(errs(), ToolName) in dumpSymbolicFile() 2408 ToolName = argv[0]; in llvm_nm_main() 2417 (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 | 357 static StringRef ToolName; variable 459 WithColor::warning(errs(), ToolName) in reportWarning() 465 WithColor::error(errs(), ToolName) << "'" << File << "': " << Message << "\n"; in reportError() 474 WithColor::error(errs(), ToolName); in reportError() 487 WithColor::warning(errs(), ToolName) << Message << "\n"; in reportCmdLineWarning() 491 WithColor::error(errs(), ToolName) << Message << "\n"; in reportCmdLineError() 3143 WithColor::error(errs(), ToolName) in printUnwindInfo() 3152 WithColor::error(errs(), ToolName) in printRawClangAST() 3194 WithColor::error(errs(), ToolName) in printFaultMaps() 3250 WithColor::error(errs(), ToolName) << "ill-formed archive entry.\n"; in printArchiveChild() [all …]
|