Home
last modified time | relevance | path

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

12

/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-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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSignals.cpp105 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, in printSymbolizedStackTrace() argument
111 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
119 if (!Argv0.empty()) { in printSymbolizedStackTrace()
120 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
133 Argv0.empty() ? sys::fs::getMainExecutable(nullptr, nullptr) in printSymbolizedStackTrace()
134 : (std::string)Argv0; in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Passes/
DPluginsTest.cpp32 const char *Argv0 = Argvs.size() > 0 ? Argvs[0].c_str() : "PluginsTests"; in LibPath() local
34 std::string Path = sys::fs::getMainExecutable(Argv0, Ptr); in LibPath()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DToolRunner.h86 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,
DToolRunner.cpp218 const char *Argv0, in PrependMainExecutablePath() argument
223 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr); in PrependMainExecutablePath()
238 AbstractInterpreter::createLLI(const char *Argv0, std::string &Message, in createLLI() argument
241 PrependMainExecutablePath("lli", Argv0, (void *)(intptr_t)&createLLI); in createLLI()
522 LLC *AbstractInterpreter::createLLC(const char *Argv0, std::string &Message, in createLLC() argument
528 PrependMainExecutablePath("llc", Argv0, (void *)(intptr_t)&createLLC); in createLLC()
607 AbstractInterpreter::createJIT(const char *Argv0, std::string &Message, in createJIT() argument
610 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/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/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/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSignals.h47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/llvm/include/llvm/Support/
DSignals.h47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSignals.h47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp25 const char *Argv0 = in LibPath() local
28 std::string Path = fs::getMainExecutable(Argv0, Ptr); in LibPath()
/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/clang/include/clang/Frontend/
DCompilerInvocation.h150 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DSignals.inc200 static StringRef Argv0;
501 if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
560 void llvm::sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
562 ::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-7.0/llvm/tools/llvm-config/
Dllvm-config.cpp228 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() argument
232 return llvm::sys::fs::getMainExecutable(Argv0, P); in GetExecutablePath()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DSignals.inc208 static StringRef Argv0;
250 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS);
508 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0,
510 ::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/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;

12