[compiler-rt] be17d18 - [HWASan] deflake hwasan_symbolize test more.
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 16:58:03 PDT 2022
Author: Florian Mayer
Date: 2022-05-10T16:57:44-07:00
New Revision: be17d18ae8e44cb80830268f605104adfff9e313
URL: https://github.com/llvm/llvm-project/commit/be17d18ae8e44cb80830268f605104adfff9e313
DIFF: https://github.com/llvm/llvm-project/commit/be17d18ae8e44cb80830268f605104adfff9e313.diff
LOG: [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.
Added:
Modified:
compiler-rt/lib/hwasan/scripts/hwasan_symbolize
Removed:
################################################################################
diff --git a/compiler-rt/lib/hwasan/scripts/hwasan_symbolize b/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
index ba11ee4ceedc4..c1223877cac09 100755
--- a/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
+++ b/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
@@ -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
More information about the llvm-commits
mailing list