Lines Matching refs:debugfile
631 char *debugfile; in build_id_cache__find_debug() local
635 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
636 if (!debugfile) in build_id_cache__find_debug()
644 len = __symbol__join_symfs(debugfile, PATH_MAX, dirname); in build_id_cache__find_debug()
645 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
649 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
673 free(debugfile); in build_id_cache__find_debug()
684 char *debugfile = NULL; in build_id_cache__add() local
734 debugfile = build_id_cache__find_debug(sbuild_id, nsi, root_dir); in build_id_cache__add()
735 if (debugfile) { in build_id_cache__add()
744 if (copyfile_ns(debugfile, filename, in build_id_cache__add()
747 } else if (link(debugfile, filename) && in build_id_cache__add()
749 copyfile(debugfile, filename)) in build_id_cache__add()
794 free(debugfile); in build_id_cache__add()