diff options
| author | Varun Gandhi <varun_gandhi@apple.com> | 2020-12-16 17:01:12 -0800 |
|---|---|---|
| committer | Varun Gandhi <varun_gandhi@apple.com> | 2021-01-07 08:42:00 -0800 |
| commit | db33f85c7124443e140d0118289fc141bab0c68d (patch) | |
| tree | 6fd8b5a4664c4f85383a4b524e8b0366f9738eca /mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | |
| parent | e881a25f1e110b259030745b3592418ea0c8efe8 (diff) | |
[IR] Use LLVM_ENABLE_ABI_BREAKING_CHECKS to guard ABI changes.
Incorrect usage of NDEBUG to guard ABI changes can prevent clients
from enabling assertions for their C++ code while having assertions in
LLVM turned off. So we use LLVM_ENABLE_ABI_BREAKING_CHECKS instead, as
described in llvm/docs/ProgrammersManual.rst. Most types already use this
macro, however, there were a couple of stragglers in ValueHandle.h, which
are fixed by this revision.
Reviewed By: dblaikie, dexonsmith
Differential Revision: https://reviews.llvm.org/D93433
Diffstat (limited to 'mlir/lib/Target/LLVMIR/ModuleTranslation.cpp')
0 files changed, 0 insertions, 0 deletions
