Struct gimli::FileEntry [] [src]

pub struct FileEntry<'input> {
    // some fields omitted
}

An entry in the LineNumberProgramHeader's file_names set.

Methods

impl<'input> FileEntry<'input>
[src]

A null-terminated string containing the full or relative path name of a source file. If the entry contains a file name or a relative path name, the file is located relative to either the compilation directory (as specified by the DW_AT_comp_dir attribute given in the compilation unit) or one of the directories in the include_directories section.

An unsigned LEB128 number representing the directory index of the directory in which the file was found.

...

The directory index represents an entry in the include_directories section of the line number program header. The index is 0 if the file was found in the current directory of the compilation, 1 if it was found in the first directory in the include_directories section, and so on. The directory index is ignored for file names that represent full path names.

Get this file's directory.

If this file's directory index is 0, meaning that it was found in the current directory of compilation, return None.

"An unsigned LEB128 number representing the time of last modification of the file, or 0 if not available."

"An unsigned LEB128 number representing the length in bytes of the file, or 0 if not available."

Trait Implementations

impl<'input> Eq for FileEntry<'input>
[src]

impl<'input> PartialEq for FileEntry<'input>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'input> Debug for FileEntry<'input>
[src]

Formats the value using the given formatter.

impl<'input> Clone for FileEntry<'input>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'input> Copy for FileEntry<'input>
[src]