summaryrefslogtreecommitdiff
path: root/test/BugPoint
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-04-11 20:39:17 +0000
committerZachary Turner <zturner@google.com>2016-04-11 20:39:17 +0000
commit21c130455f8fc563cc29f8827de36fc436089537 (patch)
treeb3d27ed50010cc2c0af2b31b5ac5cf6860d85749 /test/BugPoint
parent62063a8486fab3d9a5b65b9b404def4383e01c81 (diff)
Fix some display bugs in llvm-pdbdump.
We were incorrectly reporting all non-64 bit integers as int64s. This is most evident when trying to print the "short" type, but in theory could happen with chars too (although usually chars use a different builtin type). Additionally, we were using the wrong check when deciding whether to print an enum definition as a global enum. We were checking whether or not the enum was "nested", and if so saving it until we print the class definition that it was nested in. But this is not correct in rare situations where the enum is nested, but the class that it's nested in does not have type information in the PDB. So instead we check if there is a class definition for the parent in the PDB. If so we save it for later, otherwise we print it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/BugPoint')
0 files changed, 0 insertions, 0 deletions