Commit ffa46a1
Fix PDB Symbol Resolution for Unmerged Windows Traces (#2407)
* Fix PDB symbol resolution for unmerged Windows traces
The ELF symbol work introduced a switch on BinaryFormat in
LookupSymbolsForModule that only handled PE and ELF cases. For
unmerged Windows traces, symbolInfo is null (no RSDS events in the
ETL), so BinaryFormat returns Unspecified, causing symbol resolution
to be skipped entirely.
Add a case for ModuleBinaryFormat.Unspecified that falls back to PDB
lookup on Windows. OpenPdbForModuleFile handles missing PDB signatures
gracefully by checking the local file on disk.
Also rename ModuleBinaryFormat.Unknown to Unspecified to better reflect
that the format was not specified in the trace data.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Bump version to 3.2.2
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 543e9e9 commit ffa46a1
2 files changed
+31
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8970 | 8970 | | |
8971 | 8971 | | |
8972 | 8972 | | |
| 8973 | + | |
| 8974 | + | |
| 8975 | + | |
| 8976 | + | |
| 8977 | + | |
| 8978 | + | |
| 8979 | + | |
| 8980 | + | |
| 8981 | + | |
| 8982 | + | |
| 8983 | + | |
| 8984 | + | |
| 8985 | + | |
| 8986 | + | |
| 8987 | + | |
| 8988 | + | |
| 8989 | + | |
| 8990 | + | |
| 8991 | + | |
| 8992 | + | |
| 8993 | + | |
| 8994 | + | |
| 8995 | + | |
| 8996 | + | |
8973 | 8997 | | |
8974 | 8998 | | |
8975 | | - | |
8976 | | - | |
| 8999 | + | |
| 9000 | + | |
8977 | 9001 | | |
8978 | 9002 | | |
8979 | 9003 | | |
| |||
10568 | 10592 | | |
10569 | 10593 | | |
10570 | 10594 | | |
10571 | | - | |
| 10595 | + | |
10572 | 10596 | | |
10573 | 10597 | | |
10574 | 10598 | | |
| |||
10780 | 10804 | | |
10781 | 10805 | | |
10782 | 10806 | | |
10783 | | - | |
| 10807 | + | |
10784 | 10808 | | |
10785 | 10809 | | |
10786 | 10810 | | |
| |||
10836 | 10860 | | |
10837 | 10861 | | |
10838 | 10862 | | |
10839 | | - | |
10840 | | - | |
| 10863 | + | |
| 10864 | + | |
10841 | 10865 | | |
10842 | 10866 | | |
10843 | 10867 | | |
| |||
0 commit comments