summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/PDB
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-05-23 01:58:23 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-05-23 01:58:23 +0000
commit6de0ca42962967fe89ff7d542996bcefa5910161 (patch)
tree49ff195c97c729ff1170f3e1f233bf09c3a1f209 /lldb/source/Plugins/SymbolFile/PDB
parentedd5e29cfe9f67ec8e7e0eda12eb05e616fdeebc (diff)
downloadbcm5719-llvm-6de0ca42962967fe89ff7d542996bcefa5910161.tar.gz
bcm5719-llvm-6de0ca42962967fe89ff7d542996bcefa5910161.zip
[SymbolFilePDB] Add a test for wchar_t type in PDB.
The wchar_t is unsigned. https://msdn.microsoft.com/en-us/library/s3f49ktz.aspx llvm-svn: 333051
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/PDB')
-rw-r--r--lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
index e00cc5b7197..2daa889e0e1 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
+++ b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
@@ -66,6 +66,7 @@ lldb::Encoding TranslateBuiltinEncoding(PDB_BuiltinType type) {
case PDB_BuiltinType::UInt:
case PDB_BuiltinType::ULong:
case PDB_BuiltinType::HResult:
+ case PDB_BuiltinType::WCharT:
return lldb::eEncodingUint;
default:
return lldb::eEncodingInvalid;
OpenPOWER on IntegriCloud