[all-commits] [llvm/llvm-project] b3b952: [lldb/DWARF] Look for complete member definitions ...

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Jul 3 07:54:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3b952873f3705e6877644013461be7923c6caad
      https://github.com/llvm/llvm-project/commit/b3b952873f3705e6877644013461be7923c6caad
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-07-03 (Fri, 03 Jul 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py
    M lldb/test/API/functionalities/limit-debug-info/main.cpp
    M lldb/test/API/functionalities/limit-debug-info/one.cpp
    M lldb/test/API/functionalities/limit-debug-info/onetwo.h
    M lldb/test/API/functionalities/limit-debug-info/two.cpp
    R lldb/test/Shell/SymbolFile/DWARF/forward-declarations.s

  Log Message:
  -----------
  [lldb/DWARF] Look for complete member definitions in other modules

With -flimit-debug-info, we can have a definition of a class, but no
definition for some of its members. This extends the same logic we were
using for incomplete base classes to cover incomplete members too.

Test forward-declarations.s is removed as it is no longer applicable --
we don't warn anymore when encountering incomplete members as they could
be completed elsewhere. New checks added to TestLimitDebugInfo cover the
handling of incomplete members more thoroughly.




More information about the All-commits mailing list