From 6f69f2ed61ae805df496fc86ef22e7685573d556 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 19 Jan 2021 11:00:33 -0800 Subject: [PATCH] Consider ASan messages interesting for creduce Helped me reduce llvm.org/pr48582 --- clang/utils/creduce-clang-crash.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/utils/creduce-clang-crash.py b/clang/utils/creduce-clang-crash.py index cdc639c6f854..51f4d9d333bc 100755 --- a/clang/utils/creduce-clang-crash.py +++ b/clang/utils/creduce-clang-crash.py @@ -134,7 +134,8 @@ class Reduce(object): r"UNREACHABLE executed at .+?!", r"LLVM IR generation of declaration '.+'", r"Generating code for declaration '.+'", - r"\*\*\* Bad machine code: .+ \*\*\*"] + r"\*\*\* Bad machine code: .+ \*\*\*", + r"ERROR: .*Sanitizer: [^ ]+ "] for msg_re in regexes: match = re.search(msg_re, crash_output) if match: