/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Signals.cpp | 65 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/ |
D | Signals.cpp | 65 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/ |
D | SupportHelpers.cpp | 16 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/ |
D | Signals.cpp | 106 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/ |
D | ToolRunner.h | 90 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,
|
D | ToolRunner.cpp | 232 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/ |
D | cc1_main.cpp | 67 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument 99 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
|
D | driver.cpp | 57 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/ |
D | main.cpp | 38 std::string GetExecutablePath(const char *Argv0) { in GetExecutablePath() argument 42 return llvm::sys::fs::getMainExecutable(Argv0, MainAddr); in GetExecutablePath()
|
/external/llvm/include/llvm/Support/ |
D | Signals.h | 47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Signals.h | 47 void PrintStackTraceOnErrorSignal(StringRef Argv0,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Signals.h | 46 void PrintStackTraceOnErrorSignal(StringRef Argv0,
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Signals.inc | 69 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/ |
D | Signals.inc | 71 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/ |
D | arcmt-test.cpp | 65 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/ |
D | SupportHelpers.h | 106 SmallString<128> getInputFileDirectory(const char *Argv0);
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 150 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Signals.inc | 204 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/ |
D | llvm-config.cpp | 225 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/ |
D | Signals.inc | 207 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/ |
D | Signals.inc | 210 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/ |
D | Signals.inc | 209 static StringRef Argv0; 245 return printSymbolizedStackTrace(Argv0, &StackTrace[0], Depth, OS); 501 void sys::PrintStackTraceOnErrorSignal(StringRef Argv0, 503 ::Argv0 = Argv0;
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 348 static void injectResourceDir(CommandLineArguments &Args, const char *Argv0, in injectResourceDir() argument 357 CompilerInvocation::GetResourcesPath(Argv0, MainAddr)); in injectResourceDir()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 128 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/ |
D | FuzzerDriver.cpp | 645 std::string Argv0((*argv)[0]); in FuzzerDriver() local 654 if (Argv0 != *ProgName) { in FuzzerDriver()
|