/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | OrcRTBootstrap.cpp | 52 [](ExecutorAddr MainAddr, in runAsMainWrapper() 54 return runAsMain(MainAddr.toPtr<int (*)(int, char *[])>(), Args); in runAsMainWrapper() 63 [](ExecutorAddr MainAddr) -> int32_t { in runAsVoidFunctionWrapper() argument 64 return runAsVoidFunction(MainAddr.toPtr<int32_t (*)(void)>()); in runAsVoidFunctionWrapper() 73 [](ExecutorAddr MainAddr, int32_t Arg) -> int32_t { in runAsIntFunctionWrapper() argument 74 return runAsIntFunction(MainAddr.toPtr<int32_t (*)(int32_t)>(), in runAsIntFunctionWrapper()
|
/openbsd/gnu/llvm/clang/tools/arcmt-test/ |
H A D | arcmt-test.cpp | 69 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in GetExecutablePath() local 70 return llvm::sys::fs::getMainExecutable(Argv0, MainAddr); in GetExecutablePath() 344 void *MainAddr = (void*) (intptr_t) GetExecutablePath; in main() local 348 resourcesPath = CompilerInvocation::GetResourcesPath(argv[0], MainAddr); in main()
|
/openbsd/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/ |
H A D | LLJITWithRemoteDebugging.cpp | 226 auto MainAddr = ExitOnErr(J->lookup("main")); in main() local 243 int Result = ExitOnErr(EPC.runAsMain(MainAddr, ActualArgv)); in main()
|
/openbsd/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/ |
H A D | LLJITWithThinLTOSummaries.cpp | 230 auto MainAddr = ExitOnErr(J->lookup(MainFunctionName)); in main() local 233 auto *MainFunction = MainAddr.toPtr<MainFnPtr>(); in main()
|
/openbsd/gnu/llvm/clang/tools/driver/ |
H A D | cc1_main.cpp | 185 int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1_main() argument 230 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
|
H A D | driver.cpp | 209 void *MainAddr); 211 void *MainAddr); 213 const char *Argv0, void *MainAddr);
|
H A D | cc1gen_reproducer_main.cpp | 158 void *MainAddr) { in cc1gen_reproducer_main() argument
|
H A D | cc1as_main.cpp | 610 int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { in cc1as_main() argument
|
/openbsd/gnu/llvm/clang/tools/c-index-test/ |
H A D | core_main.cpp | 337 void *MainAddr = (void*) (intptr_t) indextest_core_main; in indextest_core_main() local 338 std::string Executable = llvm::sys::fs::getMainExecutable(argv[0], MainAddr); in indextest_core_main()
|
/openbsd/gnu/llvm/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 220 static std::string GetResourcesPath(const char *Argv0, void *MainAddr);
|
/openbsd/gnu/llvm/llvm/tools/bugpoint/ |
H A D | ToolRunner.h | 186 const char *Argv0, void *MainAddr);
|
H A D | ToolRunner.cpp | 206 void *MainAddr) { in FindProgramByName() argument 210 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr); in FindProgramByName()
|
/openbsd/gnu/llvm/llvm/tools/lli/ |
H A D | lli.cpp | 1087 auto MainAddr = ExitOnErr(J->lookup(EntryFunc)); in runOrcJIT() local 1092 Result = ExitOnErr(EPC->runAsMain(MainAddr, InputArgv)); in runOrcJIT() 1096 auto MainFn = MainAddr.toPtr<MainFnTy *>(); in runOrcJIT()
|
/openbsd/gnu/llvm/clang/lib/Tooling/ |
H A D | Tooling.cpp | 474 void *MainAddr) { in injectResourceDir() argument 482 ("-resource-dir=" + CompilerInvocation::GetResourcesPath(Argv0, MainAddr)) in injectResourceDir()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | Path.cpp | 1211 std::string getMainExecutable(const char *Argv0, void *MainAddr) { in getMainExecutable() argument 1214 return getMainExecutableImpl(Argv0, MainAddr); in getMainExecutable()
|
/openbsd/gnu/llvm/llvm/lib/Support/Unix/ |
H A D | Path.inc | 193 std::string getMainExecutableImpl(const char *argv0, void *MainAddr) { 323 int err = dladdr(MainAddr, &DLInfo);
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 2964 void *MainAddr) { in GetResourcesPath() argument 2966 llvm::sys::fs::getMainExecutable(Argv0, MainAddr); in GetResourcesPath()
|