Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/freebsd/
H A DHostInfoFreeBSD.cpp70 char *exe_path = new char[exe_path_size]; in GetProgramFileSpec() local
71 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0) in GetProgramFileSpec()
72 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
73 delete[] exe_path; in GetProgramFileSpec()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp181 char exe_path[PATH_MAX]; in LaunchProcess() local
182 launch_info.GetExecutableFile().GetPath(exe_path, sizeof(exe_path)); in LaunchProcess()
/freebsd-12.1/contrib/llvm/lib/Support/Unix/
H A DPath.inc166 char exe_path[MAXPATHLEN];
167 uint32_t size = sizeof(exe_path);
170 if (realpath(exe_path, link_path))
176 char exe_path[PATH_MAX];
179 return exe_path;
181 char exe_path[MAXPATHLEN];
185 ssize_t len = readlink(aPath.str().c_str(), exe_path, sizeof(exe_path));
192 exe_path[len] = '\0';
205 realpath(exe_path, real_path);
210 if (getprogpath(exe_path, argv0))
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp121 char exe_path[PATH_MAX]; in ResolveExecutable() local
128 resolved_module_spec.GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in ResolveExecutable()
129 resolved_module_spec.GetFileSpec().SetFile(exe_path, in ResolveExecutable()
173 exe_path); in ResolveExecutable()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cc361 InternalScopedString exe_path(kMaxPathLength); in ReadBinaryName() local
362 uint32_t size = exe_path.size(); in ReadBinaryName()
363 if (_NSGetExecutablePath(exe_path.data(), &size) == 0 && in ReadBinaryName()
364 realpath(exe_path.data(), buf) != 0) { in ReadBinaryName()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectPlatform.cpp1041 llvm::SmallString<128> exe_path; in DoExecute() local
1042 m_options.launch_info.GetExecutableFile().GetPath(exe_path); in DoExecute()
1043 if (!exe_path.empty()) in DoExecute()
1044 m_options.launch_info.GetArguments().AppendArgument(exe_path); in DoExecute()
H A DCommandObjectTarget.cpp69 char exe_path[PATH_MAX]; in DumpTargetInfo() local
72 exe_valid = exe_module->GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in DumpTargetInfo()
75 ::strcpy(exe_path, "<none>"); in DumpTargetInfo()
78 exe_path); in DumpTargetInfo()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.cpp780 std::string exe_path; in SendArgumentsPacket() local
784 exe_path = exe_file.GetPath(false); in SendArgumentsPacket()
788 exe_path = arg; in SendArgumentsPacket()
790 if (!exe_path.empty()) { in SendArgumentsPacket()
791 argv.push_back(exe_path.c_str()); in SendArgumentsPacket()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp109 loadMatchingPDBFile(std::string exe_path, llvm::BumpPtrAllocator &allocator) { in loadMatchingPDBFile() argument
112 auto expected_binary = createBinary(exe_path); in loadMatchingPDBFile()