[extract_symbols.py] Adjust how the output of nm is interpreted
authorJohn Brawn <john.brawn@arm.com>
Fri, 10 Feb 2023 14:51:54 +0000 (14:51 +0000)
committerJohn Brawn <john.brawn@arm.com>
Fri, 10 Feb 2023 15:55:45 +0000 (15:55 +0000)
commit78f13ea093afdebcaa3b5c5690530b9217bbdfac
tree6b4d2cfc749082090403ff53e697bb2aa7ea8ed9
parenta00f17d81efbd06080761aeef660e5269270a53f
[extract_symbols.py] Adjust how the output of nm is interpreted

When looking for defined symbols, look for symbols that aren't of a
type that we don't want, instead of having specific list of symbol
types that we do want. This fixes a problem where (when using GNU
nm at least) there were some symbol types that we want to export but
which weren't in the list.
llvm/utils/extract_symbols.py