Home
last modified time | relevance | path

Searched refs:exe_path (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/source/Host/freebsd/
H A DHostInfoFreeBSD.cpp49 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-14.2/usr.sbin/crunch/crunchgen/
H A Dcrunched_main.c104 get_basename(const char *exe_path) in get_basename() argument
106 const char *slash = strrchr(exe_path, '/'); in get_basename()
107 return (slash ? slash + 1 : exe_path); in get_basename()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc212 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) {
235 return exe_path;
241 ssize_t len = readlink(curproc, exe_path, sizeof(exe_path));
247 return exe_path;
252 return exe_path;
258 ssize_t len = readlink(aPath, exe_path, sizeof(exe_path));
285 return exe_path;
290 return exe_path;
298 if (read(fd, exe_path, sizeof(exe_path)) < 0)
300 return exe_path;
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp38 char exe_path[PATH_MAX]; in ResolveExecutable() local
45 resolved_module_spec.GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in ResolveExecutable()
46 resolved_module_spec.GetFileSpec().SetFile(exe_path, in ResolveExecutable()
90 exe_path); in ResolveExecutable()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp471 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-14.2/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectPlatform.cpp1164 llvm::SmallString<128> exe_path; in DoExecute() local
1165 m_options.launch_info.GetExecutableFile().GetPath(exe_path); in DoExecute()
1166 if (!exe_path.empty()) in DoExecute()
1167 m_options.launch_info.GetArguments().AppendArgument(exe_path); in DoExecute()
H A DCommandObjectTarget.cpp81 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-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp88 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()