Searched refs:Argv0 (Results 1 - 23 of 23) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Testing/Support/
H A DSupportHelpers.cpp16 static std::pair<bool, SmallString<128>> findSrcDirMap(StringRef Argv0) { argument
17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0);
36 SmallString<128> llvm::unittest::getInputFileDirectory(const char *Argv0) { argument
39 std::tie(Found, InputFilePath) = findSrcDirMap(Argv0);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSignals.h41 /// \param Argv0 the current binary name, used to find the symbolizer
46 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.h51 static CC *create(const char *Argv0, std::string &Message,
86 static LLC *createLLC(const char *Argv0, std::string &Message,
93 createLLI(const char *Argv0, std::string &Message,
97 createJIT(const char *Argv0, std::string &Message,
101 createCustomCompiler(const char *Argv0, std::string &Message,
105 createCustomExecutor(const char *Argv0, std::string &Message,
186 const char *Argv0, void *MainAddr);
H A DToolRunner.cpp205 const char *Argv0,
210 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr);
221 AbstractInterpreter::createLLI(const char *Argv0, std::string &Message, argument
224 FindProgramByName("lli", Argv0, (void *)(intptr_t)&createLLI)) {
353 static void lexCommand(const char *Argv0, std::string &Message, argument
388 auto Path = FindProgramByName(Command, Argv0, (void *)(intptr_t)&lexCommand);
402 const char *Argv0, std::string &Message,
407 lexCommand(Argv0, Message, CompileCommandLine, CmdPath, Args);
417 AbstractInterpreter::createCustomExecutor(const char *Argv0, argument
423 lexCommand(Argv0, Messag
204 FindProgramByName(const std::string &ExeName, const char *Argv0, void *MainAddr) argument
401 createCustomCompiler( const char *Argv0, std::string &Message, const std::string &CompileCommandLine) argument
507 createLLC(const char *Argv0, std::string &Message, const std::string &CCBinary, const std::vector<std::string> *Args, const std::vector<std::string> *CCArgs, bool UseIntegratedAssembler) argument
592 createJIT(const char *Argv0, std::string &Message, const std::vector<std::string> *Args) argument
842 create(const char *Argv0, std::string &Message, const std::string &CCBinary, const std::vector<std::string> *Args) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp184 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) {
207 Argv, Diags, Argv0);
211 Clang->getFrontendOpts().TimeTraceGranularity, Argv0);
221 CompilerInvocation::GetResourcesPath(Argv0, MainAddr);
H A Dcc1gen_reproducer_main.cpp140 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes);
156 int cc1gen_reproducer_main(ArrayRef<const char *> Argv, const char *Argv0, argument
181 std::string Path = GetExecutablePath(Argv0, /*CanonicalPrefixes=*/true);
H A Ddriver.cpp57 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) { argument
59 SmallString<128> ExecutablePath(Argv0);
60 // Do a PATH lookup if Argv0 isn't a valid path.
71 return llvm::sys::fs::getMainExecutable(Argv0, P);
206 extern int cc1_main(ArrayRef<const char *> Argv, const char *Argv0,
208 extern int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0,
211 const char *Argv0, void *MainAddr);
H A Dcc1as_main.cpp557 int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCTargetOptions.h64 const char *Argv0 = nullptr; member in class:llvm::MCTargetOptions
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DSignals.cpp106 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, argument
112 if (Argv0.find("llvm-symbolizer") != std::string::npos)
120 if (!Argv0.empty()) {
121 StringRef Parent = llvm::sys::path::parent_path(Argv0);
134 sys::fs::exists(Argv0) ? (std::string)std::string(Argv0)
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h161 const char *Argv0 = nullptr);
167 /// \param Argv0 - The program path (from argv[0]), for finding the builtin
171 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp143 static std::unique_ptr<Module> loadArFile(const char *Argv0, argument
161 errs() << Argv0 << ": ";
174 errs() << Argv0 << ": ";
185 errs() << Argv0 << ": ";
194 errs() << Argv0 << ": ";
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DSignals.inc206 static StringRef Argv0;
575 if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
631 void llvm::sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
633 ::Argv0 = Argv0;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h106 SmallString<128> getInputFileDirectory(const char *Argv0);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp278 std::string Argv0 = GetClangToolCommand(); local
279 Args.insert(Args.begin(), Argv0.c_str());
H A DTooling.cpp438 static void injectResourceDir(CommandLineArguments &Args, const char *Argv0, argument
447 CompilerInvocation::GetResourcesPath(Argv0, MainAddr));
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.h337 const char *Argv0 = nullptr; member in class:clang::CodeGenOptions
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp611 std::string Argv0((*argv)[0]);
620 if (Argv0 != *ProgName) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp170 static std::string normalizeProgramName(llvm::StringRef Argv0) { argument
171 std::string ProgName = std::string(llvm::sys::path::stem(Argv0));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DSignals.inc207 static StringRef Argv0;
249 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS);
505 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
507 ::Argv0 = Argv0;
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp540 Options.MCOptions.Argv0 = CodeGenOpts.Argv0;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp2102 std::string CompilerInvocation::GetResourcesPath(const char *Argv0, argument
2105 llvm::sys::fs::getMainExecutable(Argv0, MainAddr);
3696 const char *Argv0) {
3823 Res.getCodeGenOpts().Argv0 = Argv0;
3693 CreateFromArgs(CompilerInvocation &Res, ArrayRef<const char *> CommandLineArgs, DiagnosticsEngine &Diags, const char *Argv0) argument
/freebsd-13-stable/contrib/sqlite3/
H A Dshell.c448 static char *Argv0; variable
20913 "if the file does not previously exist.\n", Argv0);
21085 Argv0 = argv[0];
21264 utf8_printf(stderr,"%s: Error: no database filename specified\n", Argv0);
21448 utf8_printf(stderr,"%s: Error: unknown option: %s\n", Argv0, z);

Completed in 290 milliseconds