diff options
author | Richard Trieu <rtrieu@google.com> | 2019-02-23 05:48:50 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2019-02-23 05:48:50 +0000 |
commit | 1bf3a09b3d81f6cbc2b7e464d35b4a1a56cd5de6 (patch) | |
tree | 9ae33afda6c11bc5168b587484215071a490cfe7 | |
parent | 6ac16e91f6dff44cfdd3fc4092a06ea383670c5c (diff) | |
download | bcm5719-llvm-1bf3a09b3d81f6cbc2b7e464d35b4a1a56cd5de6.tar.gz bcm5719-llvm-1bf3a09b3d81f6cbc2b7e464d35b4a1a56cd5de6.zip |
Remove overly broad assert from r354717.
llvm-svn: 354720
-rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h b/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h index 803f993b708..e9bcf3a17ee 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) |