diff options
Diffstat (limited to 'src/dwarf2pdb.cpp')
-rw-r--r-- | src/dwarf2pdb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dwarf2pdb.cpp b/src/dwarf2pdb.cpp index 80d64a4..91a6293 100644 --- a/src/dwarf2pdb.cpp +++ b/src/dwarf2pdb.cpp @@ -525,6 +525,7 @@ int CV2PDB::addDWARFBasicType(const char*name, int encoding, int byte_size) case DW_ATE_unsigned: type = 2; break;
case DW_ATE_unsigned_char: type = 7; break;
case DW_ATE_imaginary_float:type = 4; break;
+ case DW_ATE_UTF: type = 7; break;
default:
setError("unknown basic type encoding");
}
@@ -692,7 +693,8 @@ bool CV2PDB::createTypes() DIECursor specCursor(cu, id.specification);
DWARF_InfoData idspec;
specCursor.readNext(idspec);
- assert(id.tag == idspec.tag);
+ //assert seems invalid, combination DW_TAG_member and DW_TAG_variable found in the wild
+ //assert(id.tag == idspec.tag);
id.merge(idspec);
}
|