[all-commits] [llvm/llvm-project] a2404b: [AppleAccelTable][NFC] Make FormParams member of A...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Jun 8 08:16:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2404bc3231fe9a70c843016a66e23aa246b8f3c
      https://github.com/llvm/llvm-project/commit/a2404bc3231fe9a70c843016a66e23aa246b8f3c
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
    M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp

  Log Message:
  -----------
  [AppleAccelTable][NFC] Make FormParams member of AppleAccelTable

These are used throughout the class and are recreated every time they are used.
To prevent the risk of it being created incorrectly in different places, we
create it once and in the earliest moment possible: when the table is extracted.

Depends on D151989

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




More information about the All-commits mailing list