[libc++] accept ELF Tool Chain readelf format in tooling
authorEd Maste <emaste@FreeBSD.org>
Mon, 19 Dec 2022 17:13:42 +0000 (12:13 -0500)
committerEd Maste <emaste@FreeBSD.org>
Tue, 20 Dec 2022 14:39:24 +0000 (09:39 -0500)
commit0de9fd1c2790504487b3dbed38a6ff712249fa65
tree2f2d62fb4a6f91b0d7a0376c994e565bd802a8f3
parent454997d3965936ebc813d4bea5e3a639fb0e7cb4
[libc++] accept ELF Tool Chain readelf format in tooling

ELF Tool Chain provides alternatives to most GNU binutils tools,
including readelf.  These tools are currently used by FreeBSD.

ELF Tool Chain's readelf currently emits headings for symbol table
information in a slightly different format compared to GNU or LLVM
readelf.  Accept both formats.

Reviewed by: philnik
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D140313
libcxx/utils/libcxx/sym_check/extract.py