Add error reporting when looking up types by demangled name.

This commit is contained in:
Mike Ash
2020-08-19 12:30:34 -04:00
parent 24f1a46efa
commit fd6922f92d
20 changed files with 743 additions and 377 deletions

View File

@@ -618,8 +618,8 @@ public:
}),
OpaqueUnderlyingTypeReader(
[&reader](uint64_t descriptorAddr, unsigned ordinal) -> const TypeRef* {
return reader.readUnderlyingTypeForOpaqueTypeDescriptor(descriptorAddr,
ordinal);
return reader.readUnderlyingTypeForOpaqueTypeDescriptor(
descriptorAddr, ordinal).getType();
})
{}