summaryrefslogtreecommitdiff
path: root/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
diff options
context:
space:
mode:
authorVarun Gandhi <varun_gandhi@apple.com>2020-12-16 17:01:12 -0800
committerVarun Gandhi <varun_gandhi@apple.com>2021-01-07 08:42:00 -0800
commitdb33f85c7124443e140d0118289fc141bab0c68d (patch)
tree6fd8b5a4664c4f85383a4b524e8b0366f9738eca /mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
parente881a25f1e110b259030745b3592418ea0c8efe8 (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