[PATCH] Add a few basic tests for llvm-pdbdump
Zachary Turner
zturner at google.com
Fri Feb 20 12:44:21 PST 2015
Bump. The options being specified on the command line might be a little confusing. I actually have a followup patch which drastically simplifies the options and probably will make reading these tests easier. But I was goign to commit that after this (as the patch updates the tests and output as well).
In any case, the basic idea of pdbdump-symbol-format.test is to dump symbol entries from object files. Since we don't know what the internal format of PDB is, I wrote the dumper to dump entries in ways that would make it easier for people to understand what the information in the PDB represents *semantically*, as opposed to physically. This is useful for someone writing a debugger, for example, so that they can know at a high level what kind of information they can expect to get from the PDB.
In this example, you can see that the PDB knows about 2 object files, symbolformat.obj and symbolformat-fpo.obj. For each one, all the symbols are dumped, which consist mostly of functions due to the fact that the original source code also consists mostly of functions. RVAs of the functions are dumped as well, in a format like [start+prologue_length - end-epilogue_length]
http://reviews.llvm.org/D7656
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list