mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 02:06:07 +00:00
Fix NDEBUG build: guard call to dump
with #if/#endif
This commit is contained in:
parent
4005185268
commit
5a77bdc3e7
@ -101,7 +101,9 @@ struct SymbolAndDesignatorExtractor {
|
||||
} else {
|
||||
// This could still be a Substring or ComplexPart, but at least Substring
|
||||
// is not allowed in OpenMP.
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
maybeDsg->dump();
|
||||
#endif
|
||||
llvm_unreachable("Expecting DataRef designator");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user