[HWASan] deflake hwasan_symbolize test more.

Don't fail on corrupted ELF file on indexing. This happens because files
change in the directory from concurrent tests.
This commit is contained in:
Florian Mayer 2022-05-10 16:32:12 -07:00
parent 2cd95504df
commit be17d18ae8
1 changed files with 3 additions and 0 deletions

View File

@ -267,6 +267,9 @@ class Symbolizer:
bid = get_buildid(filename)
except FileNotFoundError:
continue
except Exception as e:
print("Failed to parse {}: {}".format(filename, e))
continue
if bid is not None:
self.__index[bid] = filename