Home
last modified time | relevance | path

Searched refs:Argv0 (Results 1 – 25 of 35) 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-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/lib/Support/
DSystemUtils.cpp42 const char *Argv0, void *MainAddr) { in PrependMainExecutablePath() argument
46 sys::Path Result = sys::Path::GetMainExecutable(Argv0, MainAddr); in PrependMainExecutablePath()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DToolRunner.h90 static CBE *createCBE(const char *Argv0, std::string &Message,
94 static LLC *createLLC(const char *Argv0, std::string &Message,
100 static AbstractInterpreter* createLLI(const char *Argv0, std::string &Message,
103 static AbstractInterpreter* createJIT(const char *Argv0, std::string &Message,
DToolRunner.cpp238 AbstractInterpreter *AbstractInterpreter::createLLI(const char *Argv0, in createLLI() argument
242 PrependMainExecutablePath("lli", Argv0, (void *)(intptr_t)&createLLI).str(); in createLLI()
519 LLC *AbstractInterpreter::createLLC(const char *Argv0, in createLLC() argument
526 PrependMainExecutablePath("llc", Argv0, (void *)(intptr_t)&createLLC).str(); in createLLC()
611 AbstractInterpreter *AbstractInterpreter::createJIT(const char *Argv0, in createJIT() argument
614 PrependMainExecutablePath("lli", Argv0, (void *)(intptr_t)&createJIT).str(); in createJIT()
690 CBE *AbstractInterpreter::createCBE(const char *Argv0, in createCBE() argument
696 PrependMainExecutablePath("llc", Argv0, (void *)(intptr_t)&createCBE); in createCBE()
/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/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/swiftshader/third_party/LLVM/include/llvm/Support/
DSystemUtils.h40 const char *Argv0, void *MainAddr);
/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()

12