Lines Matching defs:path
85 char path[PATH_MAX];
86 if (exec_fspec->GetPath(path, sizeof(path)))
89 if (strcasestr(path, ".dSYM/Contents/Resources/DWARF") == NULL)
95 log->Printf ("Searching for dSYM bundle next to executable %s, UUID %s", path, module_spec.GetUUIDPtr()->GetAsString().c_str());
99 log->Printf ("Searching for dSYM bundle next to executable %s", path);
102 size_t obj_file_path_length = strlen(path);
103 ::strncat(path, ".dSYM/Contents/Resources/DWARF/", sizeof(path) - strlen(path) - 1);
104 ::strncat(path, exec_fspec->GetFilename().AsCString(), sizeof(path) - strlen(path) - 1);
106 dsym_fspec.SetFile(path, false);
115 log->Printf ("dSYM with matching UUID & arch found at %s", path);
121 path[obj_file_path_length] = '\0';
123 char *last_dot = strrchr(path, '.');
130 ::strncat(path, ".dSYM/Contents/Resources/DWARF/", sizeof(path) - strlen(path) - 1);
131 ::strncat(path, exec_fspec->GetFilename().AsCString(), sizeof(path) - strlen(path) - 1);
132 dsym_fspec.SetFile(path, false);
138 log->Printf ("dSYM with matching UUID & arch found at %s", path);
145 char *prev_slash = strrchr(path, '/');