Searched defs:ProgName (Results 1 - 6 of 6) sorted by relevance

/external/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp159 StringRef ProgName(sys::path::filename(argv[0]));
169 std::string Invocation(ProgName.str() + " " + argv[1]);
179 << "USAGE: " << ProgName << " <command> [args...]\n"
180 << "USAGE: " << ProgName << " <command> -help\n\n" local
187 errs() << ProgName << ": No command specified!\n";
189 errs() << ProgName << ": Unknown command!\n";
191 errs() << "USAGE: " << ProgName << " <merge|show> [args...]\n";
/external/llvm/tools/llc/
H A Dllc.cpp116 const char *ProgName) {
114 GetOutputStream(const char *TargetName, Triple::OSType OS, const char *ProgName) argument
/external/llvm/lib/LineEditor/
H A DLineEditor.cpp22 std::string LineEditor::getDefaultHistoryPath(StringRef ProgName) { argument
25 sys::path::append(Path, "." + ProgName + "-history");
193 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, argument
195 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath),
198 this->HistoryPath = getDefaultHistoryPath(ProgName);
206 Data->EL = ::el_init(ProgName.str().c_str(), In, Out, Err);
281 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, argument
283 : Prompt((ProgName + "> ").str()), Data(new InternalData) {
/external/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp187 static const Target *GetTarget(const char *ProgName) { argument
198 errs() << ProgName << ": " << Error;
320 static int AssembleInput(const char *ProgName, const Target *TheTarget, argument
330 errs() << ProgName
365 const char *ProgName = argv[0]; local
366 const Target *TheTarget = GetTarget(ProgName);
373 errs() << ProgName << ": " << EC.message() << '\n';
395 errs() << ProgName
415 errs() << ProgName << ": Dwarf version " << DwarfVersion
486 Res = AssembleInput(ProgName, TheTarge
[all...]
/external/llvm/lib/Support/
H A DSourceMgr.cpp342 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, argument
350 if (ProgName && ProgName[0])
351 S << ProgName << ": "; local
H A DCommandLine.cpp762 // Copy the program name into ProgName, making sure not to overflow it.
763 StringRef ProgName = sys::path::filename(argv[0]); local
764 size_t Len = std::min(ProgName.size(), size_t(79));
765 memcpy(ProgramName, ProgName.data(), Len);

Completed in 2536 milliseconds