#[non_exhaustive]pub enum ConversionWarning {
Show 14 variants
EmbeddedDebugData {
reason: Box<str>,
},
Debuginfod {
endpoint: Option<Box<str>>,
reason: Box<str>,
},
SplitDwarfUnavailable {
dwo_id: u64,
reasons: Box<[Box<str>]>,
},
NoInlineRecords,
MalformedRanges {
stopped: bool,
reason: Box<str>,
},
RejectedRange {
range: AddressRange,
},
InvalidStatementSequence {
die_offset: u64,
sequence_offset: u64,
},
LineSequenceMismatch {
sequences: usize,
offsets: usize,
},
MissingLineFile {
address: u64,
index: u64,
},
UnrepresentableLine {
address: u64,
line: u64,
},
MissingInlineCallFile {
die_offset: u64,
index: u64,
},
InvalidInlineCallLine {
die_offset: u64,
line: u64,
},
InvalidDeclarationFile {
die_offset: u64,
index: u64,
},
InvalidDeclarationLine {
die_offset: u64,
line: u64,
},
}Expand description
Non-fatal issue observed while importing ELF or DWARF data.
A warning means some input was skipped and conversion continued, so a report
carrying warnings is still usable. Anything that makes the whole conversion
impossible is an Error instead.
All variants implement Display, so {warning} is enough for a log line.
Matching specific variants needs a fallback arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmbeddedDebugData
Embedded mini-debug data was present but unusable.
Debuginfod
A debuginfod request or cache operation failed.
Fields
Neither an individual DWO nor a packaged DWP supplied a skeleton unit.
NoInlineRecords
Inline import was enabled but produced no valid inline records.
MalformedRanges
A DWARF range list contained malformed data.
Fields
RejectedRange
A DWARF range was invalid or outside live executable code.
Fields
range: AddressRangeRejected virtual-address range.
InvalidStatementSequence
DW_AT_LLVM_stmt_sequence did not identify a valid line sequence.
Fields
LineSequenceMismatch
Executed line sequences could not be paired with scanned offsets.
Fields
MissingLineFile
A line row referenced a missing file-table entry.
UnrepresentableLine
A line number could not fit the GSYM u32 field.
MissingInlineCallFile
An inline DIE referenced a missing call-site file.
Fields
InvalidInlineCallLine
An inline call line could not fit the GSYM u32 field.
Fields
InvalidDeclarationFile
A declaration location referenced a missing file.
Fields
InvalidDeclarationLine
A declaration line could not fit the GSYM u32 field.
Trait Implementations§
Source§impl Clone for ConversionWarning
impl Clone for ConversionWarning
Source§fn clone(&self) -> ConversionWarning
fn clone(&self) -> ConversionWarning
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConversionWarning
impl Debug for ConversionWarning
Source§impl Display for ConversionWarning
impl Display for ConversionWarning
impl Eq for ConversionWarning
Source§impl PartialEq for ConversionWarning
impl PartialEq for ConversionWarning
Source§fn eq(&self, other: &ConversionWarning) -> bool
fn eq(&self, other: &ConversionWarning) -> bool
self and other values to be equal, and is used by ==.