[lld-macho][nfc] Add `final` to classes where possible
authorJez Ng <jezng@fb.com>
Sun, 13 Jun 2021 23:43:37 +0000 (19:43 -0400)
committerJez Ng <jezng@fb.com>
Sun, 13 Jun 2021 23:52:03 +0000 (19:52 -0400)
commitda24e6d43e3fdc07aa84f55b35ec50f6b96545ad
tree938b1a2b69c67ef551b98e3f433853b27257579b
parentc5c05ffa4562223cae7db537ca7772afaeccd009
[lld-macho][nfc] Add `final` to classes where possible

I wanted to see if we would get any perf wins out of this, but
it doesn't seem to be the case. But it still seems worth committing.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D104200
lld/MachO/ConcatOutputSection.h
lld/MachO/InputFiles.h
lld/MachO/InputSection.h
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
lld/MachO/Writer.cpp