[PATCH] Refactor llvm-symbolizer to support using PDB instead of DWARF.
zturner at google.com
Mon Apr 20 09:30:50 PDT 2015
In order to make llvm-symbolizer work on Windows, a first step is to remove the assumption that DebugInfo will be in DWARF format. In theory this is simple, because there are only about 2 places where llvm-symbolizer actually queries the DWARF. In practice abstracting this away turned out to be a bit of a large refactor. Basically instead of storing DIContext directly we introduce abstract classes `SymbolizationContext`, `SymbolizedLineInfo`, and `SymbolizedInliningInfo`. Concrete implementations of each of these are provided for the DWARF case as well as the PDB case. The PDB cases are not filled out yet, I planned to do that in a separate CL to keep this from getting too big.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 31619 bytes
Desc: not available
More information about the llvm-commits