diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h index 803f993b7087..e9bcf3a17ee7 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h @@ -56,8 +56,6 @@ struct StackTrace { void Print() const; static bool WillUseFastUnwind(bool request_fast_unwind) { - static_assert(SANITIZER_CAN_FAST_UNWIND || SANITIZER_CAN_SLOW_UNWIND, - "Neither fast nor slow unwinder is supported"); if (!SANITIZER_CAN_FAST_UNWIND) return false; if (!SANITIZER_CAN_SLOW_UNWIND)