[Lldb-commits] [PATCH] D62481: DWARFASTParserClang: Unify compilation unit language handling

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 27 04:44:39 PDT 2019


labath marked an inline comment as done.
labath added inline comments.


================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:297
   TypeSP type_sp;
+  LanguageType cu_language = die.GetLanguage();
   switch (tag) {
----------------
`DWARFDIE::GetLanguage` just fetches the (cached) language attribute from the parent DWARFUnit. The dwarf spec only speaks about this attribute in the context of top level DIEs.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62481/new/

https://reviews.llvm.org/D62481





More information about the lldb-commits mailing list