[lld][MachO] Make emitEndFunStab independent from .subsections_via_symbols
authorAlexander Shaposhnikov <alexshap@fb.com>
Fri, 2 Apr 2021 00:48:09 +0000 (17:48 -0700)
committerAlexander Shaposhnikov <alexshap@fb.com>
Fri, 2 Apr 2021 00:48:09 +0000 (17:48 -0700)
commitf6ad0453665f63cf036fcb01f26fb4f023e4cfbb
tree38078043f80f80a33b0cef0a288ad8b1edc5a2b4
parent7af9b03c9d6b1c53756a8392a98edbe03a6bd327
[lld][MachO] Make emitEndFunStab independent from .subsections_via_symbols

This diff addresses FIXME in SyntheticSections.cpp and removes
the dependency of emitEndFunStab on .subsections_via_symbols.

Test plan: make check-lld-macho

Differential revision: https://reviews.llvm.org/D99054
lld/MachO/Driver.cpp
lld/MachO/InputFiles.cpp
lld/MachO/SymbolTable.cpp
lld/MachO/SymbolTable.h
lld/MachO/Symbols.h
lld/MachO/SyntheticSections.cpp
lld/MachO/UnwindInfoSection.cpp