Lines Matching defs:file
3 This file is part of elfutils.
5 This file is free software; you can redistribute it and/or modify
40 /* Try to open [DIR/][SUBDIR/]DEBUGLINK, return file descriptor or -1.
41 On success, *DEBUGINFO_FILE_NAME has the malloc'd name of the open file. */
67 /* This is the main file by another name. Don't look at it again. */
102 /* We need to open an Elf handle on the file so we can check its
133 /* We need to open an Elf handle on the file so we can check its
175 /* For a alt debug multi file we need a name, for a separate debug
193 /* Look for a file named DEBUGLINK_FILE in the directories
205 /* A leading - or + in the whole path sets whether to check file CRCs. */
235 /* A leading - or + says whether to check file CRCs for this element. */
245 const char *dir, *subdir, *file;
249 /* An empty entry says to try the main file's directory. */
252 file = debuglink_file;
257 named by the main file's absolute directory. This cannot
258 be applied to a relative file name. For alt debug files
259 it means to look for the basename file in that dir or the
276 file = debuglink_file;
281 file = basename (debuglink_file);
287 in the main file's directory. */
290 file = debuglink_file;
296 int fd = try_open (&main_stat, dir, subdir, file, &fname);
304 /* If we are looking for the alt file also try the .dwz subdir.
309 basename (file), &fname);
392 /* If FILE_NAME is a symlink, the debug file might be associated
405 But note that we might be looking for the alt file.
407 If the debug file (dw) is already set, then we must be
409 file/path name given as hint. We'll have to lookup the
410 alt file "build-id". Because the debuginfod client only