[all-commits] [llvm/llvm-project] 1a650f: [lldb] Load embedded type summary section (#7859) ...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Tue Dec 10 09:37:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a650fde4a885420c6f2991b41039c4b16ff42e1
      https://github.com/llvm/llvm-project/commit/1a650fde4a885420c6f2991b41039c4b16ff42e1
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/Core/Section.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Symbol/ObjectFile.cpp
    M lldb/source/Target/Target.cpp
    A lldb/test/API/functionalities/data-formatter/embedded-summary/Makefile
    A lldb/test/API/functionalities/data-formatter/embedded-summary/TestEmbeddedTypeSummary.py
    A lldb/test/API/functionalities/data-formatter/embedded-summary/main.c

  Log Message:
  -----------
  [lldb] Load embedded type summary section (#7859) (#8040)

Add support for type summaries embedded into the binary.

These embedded summaries will typically be generated by Swift macros,
but can also be generated by any other means.

rdar://115184658


  Commit: 9a9c1d4a6155a96ce9be494cec7e25731d36b33e
      https://github.com/llvm/llvm-project/commit/9a9c1d4a6155a96ce9be494cec7e25731d36b33e
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    A lldb/include/lldb/DataFormatters/FormatterSection.h
    M lldb/include/lldb/DataFormatters/FormattersHelpers.h
    M lldb/include/lldb/DataFormatters/TypeSummary.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/API/SBTypeSummary.cpp
    M lldb/source/Core/Section.cpp
    M lldb/source/DataFormatters/CMakeLists.txt
    A lldb/source/DataFormatters/FormatterBytecode.cpp
    A lldb/source/DataFormatters/FormatterBytecode.def
    A lldb/source/DataFormatters/FormatterBytecode.h
    A lldb/source/DataFormatters/FormatterSection.cpp
    M lldb/source/DataFormatters/TypeSummary.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Symbol/ObjectFile.cpp
    M lldb/source/Target/Target.cpp
    A lldb/test/API/functionalities/data-formatter/bytecode-summary/Makefile
    A lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
    A lldb/test/API/functionalities/data-formatter/bytecode-summary/main.cpp
    M lldb/unittests/DataFormatter/CMakeLists.txt
    A lldb/unittests/DataFormatter/FormatterBytecodeTest.cpp

  Log Message:
  -----------
  [lldb] Implement a formatter bytecode interpreter in C++

Compared to the python version, this also does type checking and error
handling, so it's slightly longer, however, it's still comfortably
under 500 lines.


Compare: https://github.com/llvm/llvm-project/compare/d6590c1bcb1b...9a9c1d4a6155

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list