[all-commits] [llvm/llvm-project] b9867d: [lldb] Fix CTF parsing of large structs

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sat Jul 29 19:37:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9867df64a312b2fe248d536d943733b8817ed4f
      https://github.com/llvm/llvm-project/commit/b9867df64a312b2fe248d536d943733b8817ed4f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-07-29 (Sat, 29 Jul 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/CTF/CTFTypes.h
    M lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.cpp
    M lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
    M lldb/test/API/macosx/ctf/Makefile
    M lldb/test/API/macosx/ctf/TestCTF.py
    M lldb/test/API/macosx/ctf/test.c

  Log Message:
  -----------
  [lldb] Fix CTF parsing of large structs

Fix parsing of large structs. If the size of a struct exceeds a certain
threshold, the offset is encoded using two 32-bit integers instead of
one.

Differential revision: https://reviews.llvm.org/D156490




More information about the All-commits mailing list