Home
last modified time | relevance | path

Searched refs:ToolName (Results 1 – 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
HDllvm-objcopy.cpp66 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()
HDObjcopyOptions.cpp413 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-13-stable/contrib/llvm-project/llvm/tools/llvm-strings/
HDllvm-strings.cpp64 static StringRef ToolName; variable
76 WithColor::error(errs(), ToolName) << Message << "\n"; in reportCmdLineError()
131 ToolName = argv[0]; in main()
138 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in main()
145 outs() << ToolName << '\n'; in main()
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-cxxfilt/
HDllvm-cxxfilt.cpp60 static StringRef ToolName; variable
63 WithColor::error(errs(), ToolName) << Message << '\n'; in error()
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()
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-symbolizer/
HDllvm-symbolizer.cpp81 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-13-stable/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
HDllvm-debuginfo-analyzer.cpp29 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-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
HDExecutionDriver.cpp263 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()
HDBugDriver.h46 const char *ToolName; // argv[0] of bugpoint variable
67 const char *getToolName() const { return ToolName; } in getToolName()
HDBugDriver.cpp80 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile), in BugDriver()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
HDVersion.cpp100 std::string getClangToolFullVersion(StringRef ToolName) { in getClangToolFullVersion() argument
103 OS << getClangVendor() << ToolName << " version " CLANG_VERSION_STRING; in getClangToolFullVersion()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
HDTooling.cpp195 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-13-stable/contrib/llvm-project/llvm/tools/llvm-ar/
HDllvm-ar.cpp57 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-13-stable/contrib/llvm-project/llvm/tools/llvm-size/
HDllvm-size.cpp80 static std::string ToolName; variable
94 WithColor::error(errs(), ToolName) << Message << '\n'; in error()
96 WithColor::error(errs(), ToolName) in error()
106 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error()
134 WithColor::error(errs(), ToolName) << "'" << FileName << "'"; in error()
868 ToolName = argv[0]; in llvm_size_main()
877 (Twine(ToolName) + " [options] <input object files>").str().c_str(), in llvm_size_main()
884 outs() << ToolName << '\n'; in llvm_size_main()
920 outs() << ToolName << ": for the -arch option: Unknown architecture " in llvm_size_main()
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDllvm-readobj.cpp173 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-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDVersion.h56 std::string getClangToolFullVersion(llvm::StringRef ToolName);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/
HDTooling.h189 const Twine &ToolName = "clang-tool",
199 const Twine &ToolName = "clang-tool",
231 StringRef FileName = "input.cc", StringRef ToolName = "clang-tool",
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
HDllvm-dwarfutil.cpp64 std::string ToolName; variable
477 ToolName = Argv[0]; in main()
488 outs(), (ToolName + " [options] <input file> <output file>").c_str(), in main()
500 error(std::move(Err), dwarfutil::ToolName); in main()
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-nm/
HDllvm-nm.cpp139 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-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
HDllvm-objdump.cpp358 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 …]