mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
.eh_frame sections require special sub-section processing, specifically, CIEs are de-duplicated and FDEs are garbage collected. Create a specialized scanEhSection() function utilizing the just-added EhInputSection::rels. OffsetGetter is moved to scanEhSection. This improves separation of concerns between InputSection and EhInputSection processing. This removes another `relsOrRelas` call using `supportsCrel=false`. DWARF.cpp now has the last call. Pull Request: https://github.com/llvm/llvm-project/pull/161091
62 KiB
62 KiB