Searched refs:exe_path (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/lldb/source/Host/freebsd/ |
| H A D | HostInfoFreeBSD.cpp | 49 char exe_path[PATH_MAX]; in GetProgramFileSpec() local 50 size_t exe_path_size = sizeof(exe_path); in GetProgramFileSpec() 51 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0) in GetProgramFileSpec() 52 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
|
| /freebsd/contrib/llvm-project/lldb/source/Host/aix/ |
| H A D | HostInfoAIX.cpp | 29 llvm::StringRef exe_path( in GetProgramFileSpec() local 32 if (!exe_path.empty()) in GetProgramFileSpec() 33 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
|
| /freebsd/usr.sbin/crunch/crunchgen/ |
| H A D | crunched_main.c | 104 get_basename(const char *exe_path) in get_basename() 106 const char *slash = strrchr(exe_path, '/'); in get_basename() 107 return (slash ? slash + 1 : exe_path); in get_basename() 103 get_basename(const char * exe_path) get_basename() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 196 char exe_path[PATH_MAX]; 197 uint32_t size = sizeof(exe_path); 198 if (_NSGetExecutablePath(exe_path, &size) == 0) { 200 if (realpath(exe_path, link_path)) 208 char exe_path[PATH_MAX]; 210 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { 212 if (realpath(exe_path, link_path)) 232 if (getprogpath(exe_path, argv0) != NULL) 233 return exe_path; 237 char exe_path[PATH_MAX]; [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_mac.cpp | 464 InternalMmapVector<char> exe_path(kMaxPathLength); in ReadBinaryName() local 465 uint32_t size = exe_path.size(); in ReadBinaryName() 466 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName() 467 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
|
| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 1091 llvm::SmallString<128> exe_path; in DoExecute() local 1092 m_options.launch_info.GetExecutableFile().GetPath(exe_path); in DoExecute() 1093 if (!exe_path.empty()) in DoExecute() 1094 m_options.launch_info.GetArguments().AppendArgument(exe_path); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 82 char exe_path[PATH_MAX]; in DumpTargetInfo() local 85 exe_valid = exe_module->GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in DumpTargetInfo() 88 ::strcpy(exe_path, "<none>"); in DumpTargetInfo() 97 formatted_label.data(), exe_path); in DumpTargetInfo()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | SymbolFileNativePDB.cpp | 88 loadMatchingPDBFile(std::string exe_path, llvm::BumpPtrAllocator &allocator) { in loadMatchingPDBFile() argument 91 auto expected_binary = createBinary(exe_path); in loadMatchingPDBFile() 118 const auto exe_dir = FileSpec(exe_path).CopyByRemovingLastPathComponent(); in loadMatchingPDBFile()
|