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 7f72ec9 commit 57af7c2Copy full SHA for 57af7c2
src/symbolize/gimli/elf.rs
@@ -468,16 +468,10 @@ pub(super) fn handle_split_dwarf<'data>(
468
469
let mut path = PathBuf::new();
470
if let Some(p) = load.comp_dir.as_ref() {
471
- if let Ok(p) = convert_path(p) {
472
- path.push(p);
473
- }
+ path.push(convert_path(p).ok()?);
474
}
475
476
- if let Some(p) = load.path.as_ref() {
477
478
479
480
+ path.push(convert_path(load.path.as_ref()?).ok()?);
481
482
if let Some(map_dwo) = super::mmap(&path) {
483
let map_dwo = stash.cache_mmap(map_dwo);
0 commit comments