This adds support for synthesizing section info from the section map/OMF segment map if there are no section headers in the pdb file. These PDB files are generated from the .NET "crossgen2" tool for precompiled .NET code. This PR is sufficient for tools like pdb-addr2line to read symbols from those files (typically always ending in ".ni.pdb"). There may be more that could be inferred from the section map info, but I tried to be fairly conservative here.
This adds support for synthesizing section info from the section map/OMF segment map if there are no section headers in the pdb file. These PDB files are generated from the .NET "crossgen2" tool for precompiled .NET code. This PR is sufficient for tools like pdb-addr2line to read symbols from those files (typically always ending in ".ni.pdb"). There may be more that could be inferred from the section map info, but I tried to be fairly conservative here.