[PATCH] D43646: Fix llvm-pdbutil to handle new built-in types

Adrian McCarthy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 15:21:20 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL325838: Fix llvm-pdbutil to handle new built-in types (authored by amccarth, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D43646?vs=135526&id=135528#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43646

Files:
  llvm/trunk/include/llvm/DebugInfo/PDB/PDBTypes.h
  llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp


Index: llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
===================================================================
--- llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
+++ llvm/trunk/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp
@@ -87,6 +87,10 @@
     return "HRESULT";
   case PDB_BuiltinType::BCD:
     return "HRESULT";
+  case PDB_BuiltinType::Char16:
+    return "char16_t";
+  case PDB_BuiltinType::Char32:
+    return "char32_t";
   case PDB_BuiltinType::None:
     return "...";
   }
Index: llvm/trunk/include/llvm/DebugInfo/PDB/PDBTypes.h
===================================================================
--- llvm/trunk/include/llvm/DebugInfo/PDB/PDBTypes.h
+++ llvm/trunk/include/llvm/DebugInfo/PDB/PDBTypes.h
@@ -244,7 +244,9 @@
   Complex = 28,
   Bitfield = 29,
   BSTR = 30,
-  HResult = 31
+  HResult = 31,
+  Char16 = 32,
+  Char32 = 33
 };
 
 /// These values correspond to the flags that can be combined to control the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43646.135528.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180222/95343603/attachment.bin>


More information about the llvm-commits mailing list