Searched refs:exe_path (Results 1 – 7 of 7) 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/llvm/lib/Support/Unix/ |
H A D | Path.inc | 198 char exe_path[PATH_MAX]; 199 uint32_t size = sizeof(exe_path); 200 if (_NSGetExecutablePath(exe_path, &size) == 0) { 202 if (realpath(exe_path, link_path)) 210 char exe_path[PATH_MAX]; 212 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { 214 if (realpath(exe_path, link_path)) 234 if (getprogpath(exe_path, argv0) != NULL) 235 return exe_path; 239 char exe_path[PATH_MAX]; [all …]
|
/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/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cpp | 471 InternalMmapVector<char> exe_path(kMaxPathLength); in ReadBinaryName() local 472 uint32_t size = exe_path.size(); in ReadBinaryName() 473 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName() 474 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 | 81 char exe_path[PATH_MAX]; in DumpTargetInfo() local 84 exe_valid = exe_module->GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in DumpTargetInfo() 87 ::strcpy(exe_path, "<none>"); in DumpTargetInfo() 96 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()
|