Home
last modified time | relevance | path

Searched refs:Argv0 (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp65 static bool printSymbolizedStackTrace(StringRef Argv0,
71 static bool printSymbolizedStackTrace(StringRef Argv0, in printSymbolizedStackTrace() argument
75 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
83 if (!Argv0.empty()) { in printSymbolizedStackTrace()
84 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
97 Argv0.empty() ? sys::fs::getMainExecutable(nullptr, nullptr) in printSymbolizedStackTrace()
98 : (std::string)Argv0; in printSymbolizedStackTrace()
/external/llvm/lib/Support/
DSignals.cpp65 static bool printSymbolizedStackTrace(StringRef Argv0,
71 static bool printSymbolizedStackTrace(StringRef Argv0, in printSymbolizedStackTrace() argument
75 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
83 if (!Argv0.empty()) { in printSymbolizedStackTrace()
84 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
97 Argv0.empty() ? sys::fs::getMainExecutable(nullptr, nullptr) in printSymbolizedStackTrace()
98 : (std::string)Argv0; in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/
DSupportHelpers.cpp16 static std::pair<bool, SmallString<128>> findSrcDirMap(StringRef Argv0) { in findSrcDirMap() argument
17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap()
36 SmallString<128> llvm::unittest::getInputFileDirectory(const char *Argv0) { in getInputFileDirectory() argument
39 std::tie(Found, InputFilePath) = findSrcDirMap(Argv0); in getInputFileDirectory()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSignals.cpp106 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, in printSymbolizedStackTrace() argument
112 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
120 if (!Argv0.empty()) { in printSymbolizedStackTrace()
121 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
134 sys::fs::exists(Argv0) ? (std::string)Argv0 in printSymbolizedStackTrace()
/external/llvm/tools/bugpoint/
DToolRunner.h90 static LLC *createLLC(const char *Argv0, std::string &Message,
97 createLLI(const char *Argv0, std::string &Message,
101 createJIT(const char *Argv0, std::string &Message,
DToolRunner.cpp232 const char *Argv0, in PrependMainExecutablePath() argument
237 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr); in PrependMainExecutablePath()
251 AbstractInterpreter *AbstractInterpreter::createLLI(const char *Argv0, in createLLI() argument
255 PrependMainExecutablePath("lli", Argv0, (void *)(intptr_t) & createLLI); in createLLI()
535 LLC *AbstractInterpreter::createLLC(const char *Argv0, in createLLC() argument
542 PrependMainExecutablePath("llc", Argv0, (void *)(intptr_t) & createLLC); in createLLC()
627 AbstractInterpreter *AbstractInterpreter::createJIT(const char *Argv0, in createJIT() argument
630 PrependMainExecutablePath("lli", Argv0, (void *)(intptr_t) & createJIT); in createJIT()
/external/clang/tools/driver/
Dcc1_main.cpp67 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument
99 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
Ddriver.cpp57 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) { in GetExecutablePath() argument
59 return Argv0; in GetExecutablePath()
64 return llvm::sys::fs::getMainExecutable(Argv0, P); in GetExecutablePath()
199 extern int cc1_main(ArrayRef<const char *> Argv, const char *Argv0,
201 extern int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0,
/external/clang/examples/clang-interpreter/
Dmain.cpp38 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() argument
42 return llvm::sys::fs::getMainExecutable(Argv0, MainAddr); in GetExecutablePath()
/external/llvm/include/llvm/Support/
DSignals.h47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSignals.h47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSignals.h46 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DSignals.inc69 static StringRef Argv0;
413 if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
472 void llvm::sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
474 ::Argv0 = Argv0;
/external/llvm/lib/Support/Unix/
DSignals.inc71 static StringRef Argv0;
413 if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
476 void llvm::sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
478 ::Argv0 = Argv0;
/external/clang/tools/arcmt-test/
Darcmt-test.cpp65 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() argument
69 return llvm::sys::fs::getMainExecutable(Argv0, MainAddr); in GetExecutablePath()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
DSupportHelpers.h106 SmallString<128> getInputFileDirectory(const char *Argv0);
/external/clang/include/clang/Frontend/
DCompilerInvocation.h150 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DSignals.inc204 static StringRef Argv0;
573 if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
629 void llvm::sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
631 ::Argv0 = Argv0;
/external/llvm/tools/llvm-config/
Dllvm-config.cpp225 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() argument
229 return llvm::sys::fs::getMainExecutable(Argv0, P); in GetExecutablePath()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DSignals.inc207 static StringRef Argv0;
249 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS);
505 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
507 ::Argv0 = Argv0;
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc210 static StringRef Argv0;
246 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS);
504 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
506 ::Argv0 = Argv0;
/external/llvm/lib/Support/Windows/
DSignals.inc209 static StringRef Argv0;
245 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS);
501 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
503 ::Argv0 = Argv0;
/external/clang/lib/Tooling/
DTooling.cpp348 static void injectResourceDir(CommandLineArguments &Args, const char *Argv0, in injectResourceDir() argument
357 CompilerInvocation::GetResourcesPath(Argv0, MainAddr)); in injectResourceDir()
/external/clang/lib/Driver/
DToolChain.cpp128 std::string normalizeProgramName(llvm::StringRef Argv0) { in normalizeProgramName() argument
129 std::string ProgName = llvm::sys::path::stem(Argv0); in normalizeProgramName()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDriver.cpp645 std::string Argv0((*argv)[0]); in FuzzerDriver() local
654 if (Argv0 != *ProgName) { in FuzzerDriver()

12