[scripts] Ignore demangle errors building sym table
For some reason, cxxfilt fails to demangle some names on some systems. Instead of failing the build process, just skip those symbols.
This commit is contained in:
@@ -27,11 +27,12 @@ def parse_syms(infile):
|
||||
if t not in "tTvVwW": continue
|
||||
|
||||
try:
|
||||
addr = int(addr, base=16)
|
||||
name = demangle(mangled)
|
||||
syms.append((addr, name))
|
||||
except InvalidName:
|
||||
pass
|
||||
continue
|
||||
|
||||
addr = int(addr, base=16)
|
||||
syms.append((addr, name))
|
||||
|
||||
return sorted(syms)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user