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 6463d67 commit 2781711Copy full SHA for 2781711
src/symbolize/gimli.rs
@@ -59,6 +59,10 @@ impl Mapping {
59
fn new(path: &Path) -> Option<Mapping> {
60
if cfg!(target_os = "macos") {
61
Mapping::new_find_dsym(path)
62
+ } else if cfg!(windows) {
63
+ let map = mmap(path)?;
64
+ let object = object::PeFile::parse(&map).ok()?;
65
+ Some(mk!(Mapping { map, object }))
66
} else {
67
let map = mmap(path)?;
68
let object = object::ElfFile::parse(&map).ok()?;
0 commit comments