Make llvm-tli-checker support static libraries
authorPaul Robinson <paul.robinson@sony.com>
Wed, 7 Sep 2022 19:45:35 +0000 (12:45 -0700)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 8 Sep 2022 18:10:26 +0000 (11:10 -0700)
commitf92c1726deb729d96b9e527e2f4f329f1da09fdf
tree00ade17caff251193f729eb11b0666a32ad1f9e2
parentfa8eb2708814a406261588fafe922047095b0db0
Make llvm-tli-checker support static libraries

The original implementation assumed dynamic libraries and so looked
only at the dynamic symbol table.  Use the regular symbol table for
ET_REL files.

Differential Revision: https://reviews.llvm.org/D133448
llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp