forked from OSchip/llvm-project
[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:
parent
2cd95504df
commit
be17d18ae8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue