OSDN Git Service

Fix llvm-pdbutil to handle new built-in types
authorAdrian McCarthy <amccarth@google.com>
Thu, 22 Feb 2018 23:16:56 +0000 (23:16 +0000)
committerAdrian McCarthy <amccarth@google.com>
Thu, 22 Feb 2018 23:16:56 +0000 (23:16 +0000)
commit1d5bed06d6b05d0083c3ba456c86916fff74ef86
tree49fd497983a75ff4a8ca2975c5a6fb06933c6f89
parentbe6ebba4a11679a7800001f397c7bd5c915e72db
Fix llvm-pdbutil to handle new built-in types

Summary:
The built-in PDB types enum has been extended to include char16_t and char32_t.
llvm-pdbutil was hitting an llvm_unreachable because it didn't know about these
new values.  The new values are not yet in the DIA documentation, but are
listed in the cvconst.h header that comes as part of the DIA SDK.

Reviewers: asmith, zturner, rnk

Subscribers: stella.stamenova, llvm-commits, sanjoy

Differential Revision: https://reviews.llvm.org/D43646

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325838 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/PDBTypes.h
tools/llvm-pdbutil/PrettyBuiltinDumper.cpp