[Lldb-commits] [PATCH] D56461: [NativePDB] Add support for parsing typedefs and make lldb-test work with the native reader.
Leonard Mosescu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 9 16:14:43 PST 2019
lemo added inline comments.
================
Comment at: lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp:626
+ // a series of namespaces.
+ // FIXME: do this.
+ CVSymbol global = m_index.ReadSymbolRecord(uid.asGlobalSym());
----------------
leftover comment?
================
Comment at: lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h:70-74
+ if (m_kind == Struct || m_kind == Union)
+ return cvclass.Name;
+ if (m_kind == Enum)
+ return cvenum.Name;
+ return cvunion.Name;
----------------
this, in isolation at least, reads very strange : for m_kind==Union return cvclass.Name and for everything else return cvunion.Name ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56461/new/
https://reviews.llvm.org/D56461
More information about the lldb-commits
mailing list