[all-commits] [llvm/llvm-project] de2c7c: Add support for DW_AT_export_symbols for anonymous...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Mon Oct 28 14:28:21 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: de2c7cab715e195c9d559d317beb760cf0b95262
      https://github.com/llvm/llvm-project/commit/de2c7cab715e195c9d559d317beb760cf0b95262
  Author: shafik <syaghmour at apple.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M lldb/include/lldb/Symbol/ClangASTContext.h
    M lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py
    M lldb/packages/Python/lldbsuite/test/python_api/type/main.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M lldb/source/Symbol/ClangASTContext.cpp
    A lldb/test/Shell/SymbolFile/DWARF/anon_class_w_and_wo_export_symbols.ll
    A lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp

  Log Message:
  -----------
  Add support for DW_AT_export_symbols for anonymous structs

Summary:
We add support for DW_AT_export_symbols to detect anonymous struct on top of the heuristics implemented in D66175
This should allow us to differentiate anonymous structs and unnamed structs.
We also fix TestTypeList.py which was incorrectly detecting an unnamed struct as an anonymous struct.

Differential Revision: https://reviews.llvm.org/D68961




More information about the All-commits mailing list