[ORC-RT][MachO] Add RecordSectionsTracker utility to track metadata sections.
authorLang Hames <lhames@gmail.com>
Wed, 9 Nov 2022 01:40:11 +0000 (17:40 -0800)
committerLang Hames <lhames@gmail.com>
Thu, 10 Nov 2022 05:26:17 +0000 (21:26 -0800)
commit873584b6cb811b0245d79b5dba52758d3d049bb8
tree48605ba88dbc79a14e96355832357b24eb8b27fa
parent454758ab69315e4e20f5cb0746535f7665dbcfe4
[ORC-RT][MachO] Add RecordSectionsTracker utility to track metadata sections.

Newly added sections can be processed by calling processNewSections. Calling
reset moves all sections back to the "new" state for reprocessing (expected to
be used by dlclose).
compiler-rt/lib/orc/macho_platform.cpp