We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3521b09 commit 31a4c79Copy full SHA for 31a4c79
plugins/dwarf/dwarf_import/src/functions.rs
@@ -209,6 +209,11 @@ pub(crate) fn parse_lexical_block<R: ReaderType>(
209
return None;
210
};
211
212
+ // DWARFv5 spec section 2.17 allows for undefined behavior in cases where the object currently being referred to doesn't exist
213
+ if low_pc == 0 && high_pc == 0 {
214
+ return None;
215
+ }
216
+
217
if low_pc < high_pc {
218
result.insert(low_pc..high_pc);
219
} else {
0 commit comments