From: Dmitry Vyukov Date: Wed, 12 May 2021 07:07:00 +0000 (+0200) Subject: scudo: fix CheckFailed-related build breakage X-Git-Tag: llvmorg-14-init~6954 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8aa7f28497b6794ca659f1b729a6e8ce312c54e2;p=platform%2Fupstream%2Fllvm.git scudo: fix CheckFailed-related build breakage I was running: $ ninja check-sanitizer check-msan check-asan \ check-tsan check-lsan check-ubsan check-cfi \ check-profile check-memprof check-xray check-hwasan but missed check-scudo... Differential Revision: https://reviews.llvm.org/D102314 --- diff --git a/compiler-rt/lib/scudo/scudo_termination.cpp b/compiler-rt/lib/scudo/scudo_termination.cpp index 6c7c0ab..5f1337e 100644 --- a/compiler-rt/lib/scudo/scudo_termination.cpp +++ b/compiler-rt/lib/scudo/scudo_termination.cpp @@ -30,7 +30,7 @@ void NORETURN Die() { internal__exit(common_flags()->exitcode); } -void SetCheckFailedCallback(CheckFailedCallbackType callback) {} +void SetCheckUnwindCallback(void (*callback)()) {} void NORETURN CheckFailed(const char *File, int Line, const char *Condition, u64 Value1, u64 Value2) {