forked from OSchip/llvm-project
Remove overly broad assert from r354717.
llvm-svn: 354720
This commit is contained in:
parent
6ac16e91f6
commit
1bf3a09b3d
|
@ -56,8 +56,6 @@ struct StackTrace {
|
||||||
void Print() const;
|
void Print() const;
|
||||||
|
|
||||||
static bool WillUseFastUnwind(bool request_fast_unwind) {
|
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)
|
if (!SANITIZER_CAN_FAST_UNWIND)
|
||||||
return false;
|
return false;
|
||||||
if (!SANITIZER_CAN_SLOW_UNWIND)
|
if (!SANITIZER_CAN_SLOW_UNWIND)
|
||||||
|
|
Loading…
Reference in New Issue