Skip to content

Commit e7675d3

Browse files
committed
[LLDB][NativePDB] Fix name access for classes in CVTagRecord::name
1 parent dbc63f1 commit e7675d3

File tree

1 file changed

+1
-1
lines changed
  • lldb/source/Plugins/SymbolFile/NativePDB

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct CVTagRecord {
6565
}
6666

6767
llvm::StringRef name() const {
68-
if (m_kind == Struct || m_kind == Union)
68+
if (m_kind == Struct || m_kind == Class)
6969
return cvclass.Name;
7070
if (m_kind == Enum)
7171
return cvenum.Name;

0 commit comments

Comments
 (0)