[all-commits] [llvm/llvm-project] 87659a: Reland: [lldb] Implement a formatter bytecode inte...

Adrian Prantl via All-commits all-commits at lists.llvm.org
Tue Dec 10 16:45:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87659a17d0703c1244211d9f8d1f0c21e816f0e1
      https://github.com/llvm/llvm-project/commit/87659a17d0703c1244211d9f8d1f0c21e816f0e1
  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:
  -----------
  Reland: [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.

Relanding with more explicit type conversions.



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