Home
last modified time | relevance | path

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

123

/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/llvm-project/llvm/tools/bugpoint/
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);
DToolRunner.cpp205 const char *Argv0, in FindProgramByName() argument
210 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr); in FindProgramByName()
221 AbstractInterpreter::createLLI(const char *Argv0, std::string &Message, in createLLI() argument
224 FindProgramByName("lli", Argv0, (void *)(intptr_t)&createLLI)) { in createLLI()
353 static void lexCommand(const char *Argv0, std::string &Message, in lexCommand() argument
388 auto Path = FindProgramByName(Command, Argv0, (void *)(intptr_t)&lexCommand); in lexCommand()
402 const char *Argv0, std::string &Message, in createCustomCompiler() argument
407 lexCommand(Argv0, Message, CompileCommandLine, CmdPath, Args); in createCustomCompiler()
417 AbstractInterpreter::createCustomExecutor(const char *Argv0, in createCustomExecutor() argument
423 lexCommand(Argv0, Message, ExecCommandLine, CmdPath, Args); in createCustomExecutor()
[all …]
/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/llvm-project/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-project/llvm/lib/Support/
DSignals.cpp109 static bool printSymbolizedStackTrace(StringRef Argv0, void **StackTrace, in printSymbolizedStackTrace() argument
115 if (Argv0.find("llvm-symbolizer") != std::string::npos) in printSymbolizedStackTrace()
125 } else if (!Argv0.empty()) { in printSymbolizedStackTrace()
126 StringRef Parent = llvm::sys::path::parent_path(Argv0); in printSymbolizedStackTrace()
139 sys::fs::exists(Argv0) ? (std::string)std::string(Argv0) in printSymbolizedStackTrace()
/external/llvm-project/clang/tools/driver/
Dcc1_main.cpp184 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument
207 Argv, Diags, Argv0); in cc1_main()
211 Clang->getFrontendOpts().TimeTraceGranularity, Argv0); in cc1_main()
221 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
Dcc1gen_reproducer_main.cpp140 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes);
156 int cc1gen_reproducer_main(ArrayRef<const char *> Argv, const char *Argv0, in cc1gen_reproducer_main() argument
181 std::string Path = GetExecutablePath(Argv0, /*CanonicalPrefixes=*/true); in cc1gen_reproducer_main()
Ddriver.cpp57 std::string GetExecutablePath(const char *Argv0, bool CanonicalPrefixes) { in GetExecutablePath() argument
59 SmallString<128> ExecutablePath(Argv0); in GetExecutablePath()
71 return llvm::sys::fs::getMainExecutable(Argv0, P); in GetExecutablePath()
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);
/external/llvm-project/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/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/llvm-project/llvm/tools/llvm-link/
Dllvm-link.cpp145 static std::unique_ptr<Module> loadArFile(const char *Argv0, in loadArFile() argument
161 errs() << Argv0 << ": "; in loadArFile()
174 errs() << Argv0 << ": "; in loadArFile()
185 errs() << Argv0 << ": "; in loadArFile()
194 errs() << Argv0 << ": "; in loadArFile()
/external/llvm-project/clang-tools-extra/clangd/
DCompileCommands.cpp289 llvm::StringRef Argv0 = Args.front(); in getDriverMode() local
290 if (Argv0.endswith_lower(".exe")) in getDriverMode()
291 Argv0 = Argv0.drop_back(strlen(".exe")); in getDriverMode()
292 if (Argv0.endswith_lower("cl")) in getDriverMode()
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInvocation.h161 const char *Argv0 = nullptr);
171 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
/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/llvm-project/clang-tools-extra/modularize/
DModularize.h26 extern const char *Argv0;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSignals.h46 void PrintStackTraceOnErrorSignal(StringRef Argv0,
/external/llvm-project/llvm/include/llvm/Support/
DSignals.h46 void PrintStackTraceOnErrorSignal(StringRef Argv0,

123