Lines Matching refs:debugfile
571 char *debugfile; in build_id_cache__find_debug() local
575 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
576 if (!debugfile) in build_id_cache__find_debug()
584 len = __symbol__join_symfs(debugfile, PATH_MAX, dirname); in build_id_cache__find_debug()
585 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
589 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
613 free(debugfile); in build_id_cache__find_debug()
624 char *debugfile = NULL; in build_id_cache__add() local
674 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
675 if (debugfile) { in build_id_cache__add()
684 if (copyfile_ns(debugfile, filename, in build_id_cache__add()
687 } else if (link(debugfile, filename) && in build_id_cache__add()
689 copyfile(debugfile, filename)) in build_id_cache__add()
734 free(debugfile); in build_id_cache__add()