mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 20:50:23 +01:00
bin/symbols-check: ignore nm lines that don't have a symbol name
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891>
This commit is contained in:
parent
e626636e90
commit
5672230c19
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ def get_symbols_nm(nm, lib):
|
|||
output = subprocess.check_output([nm, '-gP', lib],
|
||||
stderr=open(os.devnull, 'w')).decode("ascii")
|
||||
for line in output.splitlines():
|
||||
if line.startswith(' '):
|
||||
continue
|
||||
fields = line.split()
|
||||
if len(fields) == 2 and fields[1] == 'U':
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue