| /llvm-project-15.0.7/lldb/test/API/commands/add-dsym/uuid/ |
| H A D | TestAddDsymCommand.py | 83 exe_path = self.getBuildArtifact(exe_name) 84 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET) 94 exe_path, 104 exe_path = self.getBuildArtifact(exe_name) 105 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET) 112 exe_path, 122 exe_path = self.getBuildArtifact(exe_name) 123 self.runCmd("file " + exe_path, CURRENT_EXECUTABLE_SET) 126 right_path = "%s.dSYM" % exe_path
|
| /llvm-project-15.0.7/lldb/scripts/ |
| H A D | verify_api.py | 11 def extract_exe_symbol_names(arch, exe_path, match_str): argument 13 arch, exe_path, match_str) 91 for exe_path in args: 92 print('Verifying (%s) "%s"...' % (arch, exe_path)) 95 arch, exe_path, "( UNDF EXT)")
|
| /llvm-project-15.0.7/lldb/source/Host/freebsd/ |
| H A D | HostInfoFreeBSD.cpp | 48 char exe_path[PATH_MAX]; in GetProgramFileSpec() local 49 size_t exe_path_size = sizeof(exe_path); in GetProgramFileSpec() 50 if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0) in GetProgramFileSpec() 51 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
|
| /llvm-project-15.0.7/lldb/source/Host/linux/ |
| H A D | HostInfoLinux.cpp | 159 char exe_path[PATH_MAX]; in GetProgramFileSpec() local 160 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path) - 1); in GetProgramFileSpec() 162 exe_path[len] = 0; in GetProgramFileSpec() 163 g_program_filespec.SetFile(exe_path, FileSpec::Style::native); in GetProgramFileSpec()
|
| H A D | Host.cpp | 129 static ArchSpec GetELFProcessCPUType(llvm::StringRef exe_path) { in GetELFProcessCPUType() argument 132 auto buffer_sp = FileSystem::Instance().CreateDataBuffer(exe_path, 0x20, 0); in GetELFProcessCPUType() 148 LLDB_LOG(log, "Unknown elf class ({0}) in file {1}", exe_class, exe_path); in GetELFProcessCPUType()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 216 if (elf_aux_info(AT_EXECPATH, exe_path, sizeof(exe_path)) == 0) { 239 return exe_path; 245 ssize_t len = readlink(curproc, exe_path, sizeof(exe_path)); 251 return exe_path; 256 return exe_path; 262 ssize_t len = readlink(aPath, exe_path, sizeof(exe_path)); 269 exe_path[len] = '\0'; 289 return exe_path; 297 if (read(fd, exe_path, sizeof(exe_path)) < 0) 299 return exe_path; [all …]
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/ |
| H A D | TestAppleSimulatorOSType.py | 74 exe_path = os.path.realpath(self.getBuildArtifact(exe_name)) 76 'xcrun', 'simctl', 'spawn', '-s', deviceUDID, exe_path, 128 if image['pathname'] != exe_path:
|
| H A D | TestLldbGdbServer.py | 1213 exe_path = self.getBuildArtifact("a.out") 1214 args = [exe_path, "stderr:arg1", "stderr:arg2", "stderr:arg3"] 1238 exe_path = self.getBuildArtifact("a.out") 1239 args = [exe_path, "stderr:arg1", "stderr:arg2", "stderr:arg3"] 1259 exe_path = self.getBuildArtifact("a.out") 1260 hex_path = binascii.b2a_hex(exe_path.encode()).decode() 1278 exe_path = self.getBuildArtifact("a.out") 1280 args = [exe_path, "print-env:FOO", "print-env:BAR"] 1306 exe_path = self.getBuildArtifact("a.out") 1308 args = [exe_path, "print-env:FOO", "print-env:BAR", "print-env:BAZ"]
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/limit-debug-info/ |
| H A D | TestWithLimitDebugInfo.py | 18 exe_path = self.getBuildArtifact("a.out") 21 target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/lldb/test/API/lang/c/unions/ |
| H A D | TestUnionMembers.py | 46 exe_path = self.getBuildArtifact("a.out") 49 self.target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | RemoteAwarePlatform.cpp | 37 char exe_path[PATH_MAX]; in ResolveExecutable() local 44 resolved_module_spec.GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in ResolveExecutable() 45 resolved_module_spec.GetFileSpec().SetFile(exe_path, in ResolveExecutable() 89 exe_path); in ResolveExecutable()
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/gmodules/ |
| H A D | TestWithModuleDebugging.py | 20 exe_path = self.getBuildArtifact("a.out") 23 target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/global_operators/ |
| H A D | TestCppGlobalOperators.py | 21 exe_path = self.getBuildArtifact("a.out") 24 target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/nsimport/ |
| H A D | TestCppNsImport.py | 22 exe_path = self.getBuildArtifact("a.out") 25 target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
| H A D | gdbremote_testcase.py | 440 exe_path=None): argument 444 if not exe_path: 445 exe_path = self.getBuildArtifact("a.out") 453 return self.spawnSubprocess(exe_path, args) 488 exe_path=inferior_exe_path) 1554 exe_path = self.getBuildArtifact("a.out") 1556 return [exe_path] 1558 os.path.basename(exe_path)) 1560 err = lldb.remote_platform.Install(lldb.SBFileSpec(exe_path, True), 1564 (exe_path, remote_path, err))
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestGDBRemoteClient.py | 202 exe_path = self.getBuildArtifact("a").replace(os.path.sep, '/') 203 exe_hex = binascii.b2a_hex(exe_path.encode()).decode() 258 exe_path = self.getBuildArtifact("a").replace(os.path.sep, '/') 259 exe_hex = binascii.b2a_hex(exe_path.encode()).decode()
|
| /llvm-project-15.0.7/lldb/source/Host/macosx/objcxx/ |
| H A D | Host.mm | 198 LaunchInNewTerminalWithAppleScript(const char *exe_path, 268 command.Printf(R"( \"%s\")", exe_path); 273 command.Printf(R"( \"%s\")", exe_path); 865 static Status LaunchProcessXPC(const char *exe_path, 1078 static Status LaunchProcessPosixSpawn(const char *exe_path, 1195 tmp_argv[0] = exe_path; 1255 error, result_pid, exe_path, &file_actions, &attr, argv, 1265 ::posix_spawnp(&result_pid, exe_path, NULL, &attr, argv, envp), 1272 error, result_pid, exe_path, &attr, argv, envp.get()); 1336 auto exe_path = exe_spec.GetPath(); [all …]
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/ |
| H A D | TestMembersAndLocalsWithSameName.py | 238 exe_path = self.getBuildArtifact("a.out") 241 self.target = self.dbg.CreateTarget(exe_path)
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectPlatform.cpp | 1175 llvm::SmallString<128> exe_path; in DoExecute() local 1176 m_options.launch_info.GetExecutableFile().GetPath(exe_path); in DoExecute() 1177 if (!exe_path.empty()) in DoExecute() 1178 m_options.launch_info.GetArguments().AppendArgument(exe_path); in DoExecute()
|
| H A D | CommandObjectTarget.cpp | 77 char exe_path[PATH_MAX]; in DumpTargetInfo() local 80 exe_valid = exe_module->GetFileSpec().GetPath(exe_path, sizeof(exe_path)); in DumpTargetInfo() 83 ::strcpy(exe_path, "<none>"); in DumpTargetInfo() 86 exe_path); in DumpTargetInfo()
|
| /llvm-project-15.0.7/lldb/tools/lldb-vscode/ |
| H A D | lldb-vscode.cpp | 346 char exe_path[PATH_MAX]; in SendProcessEvent() local 347 exe_fspec.GetPath(exe_path, sizeof(exe_path)); in SendProcessEvent() 350 EmplaceSafeString(body, "name", std::string(exe_path)); in SendProcessEvent()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationClient.cpp | 774 std::string exe_path; in SendArgumentsPacket() local 778 exe_path = exe_file.GetPath(false); in SendArgumentsPacket() 782 exe_path = arg; in SendArgumentsPacket() 784 if (!exe_path.empty()) { in SendArgumentsPacket() 785 argv.push_back(exe_path.c_str()); in SendArgumentsPacket()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | SymbolFileNativePDB.cpp | 91 loadMatchingPDBFile(std::string exe_path, llvm::BumpPtrAllocator &allocator) { in loadMatchingPDBFile() argument 94 auto expected_binary = createBinary(exe_path); in loadMatchingPDBFile() 121 const auto exe_dir = FileSpec(exe_path).CopyByRemovingLastPathComponent(); in loadMatchingPDBFile()
|