Searched refs:toolfile (Results 1 - 2 of 2) sorted by relevance

/external/valgrind/main/coregrind/
H A Dlauncher-darwin.c210 char *toolfile; local
410 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch);
411 if (access(toolfile, R_OK|X_OK) != 0) {
412 barf("tool '%s' not installed (%s) (%s)", toolname, toolfile, strerror(errno));
415 VG_(debugLog)(1, "launcher", "launching %s\n", toolfile);
417 execve(toolfile, new_argv, new_env);
H A Dlauncher-linux.c273 char *toolfile; local
392 toolfile = malloc(strlen(valgrind_lib) + strlen(toolname) + strlen(platform) + 3);
393 if (toolfile == NULL)
394 barf("malloc of toolfile failed.");
395 sprintf(toolfile, "%s/%s-%s", valgrind_lib, toolname, platform);
397 VG_(debugLog)(1, "launcher", "launching %s\n", toolfile);
399 execve(toolfile, argv, new_env);

Completed in 189 milliseconds