[AppleAccelTable][NFC] Make FormParams member of AppleAccelTable
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Sat, 3 Jun 2023 10:53:11 +0000 (06:53 -0400)
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Thu, 8 Jun 2023 15:15:56 +0000 (11:15 -0400)
commita2404bc3231fe9a70c843016a66e23aa246b8f3c
tree90df3a50f9fbd87574aa28d43fb7e7c72dfae7c1
parentd65c0527ab70b8089492b6788c0e2ea0cfa219e6
[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
llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp