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]
fn path_name(&self) -> &'input CStr
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.
fn directory_index(&self) -> u64
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.
fn last_modification(&self) -> u64
"An unsigned LEB128 number representing the time of last modification of the file, or 0 if not available."
fn length(&self) -> u64
"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]
fn eq(&self, __arg_0: &FileEntry<'input>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileEntry<'input>) -> bool
This method tests for !=
.
impl<'input> Debug for FileEntry<'input>
[src]
impl<'input> Clone for FileEntry<'input>
[src]
fn clone(&self) -> FileEntry<'input>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more