Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PDB] Better support for enumerating pointer types. | Zachary Turner | 2018-09-18 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | There were several issues with the previous implementation. 1) There were no tests. 2) We didn't support creating PDBSymbolTypePointer records for builtin types since those aren't described by LF_POINTER records. 3) We didn't support a wide enough variety of builtin types even ignoring pointers. This patch fixes all of these issues. In order to add tests, it's helpful to be able to ignore the symbol index id hierarchy because it makes the golden output from the DIA version not match our output, so I've extended the dumper to disable dumping of id fields. llvm-svn: 342493 | ||||
* | [PDB] Make the native reader support enumerators. | Zachary Turner | 2018-09-17 | 1 | -0/+116 |
Previously we would dump the names of enum types, but not their enumerator values. This adds support for enumerator values. In doing so, we have to introduce a general purpose mechanism for caching symbol indices of field list members. Unlike global types, FieldList members do not have a TypeIndex. So instead, we identify them by the pair {TypeIndexOfFieldList, IndexInFieldList}. llvm-svn: 342415 |