ABI breaking changes fixes.
authorNeil Henning <neil.henning@unity3d.com>
Mon, 14 Jun 2021 11:13:18 +0000 (12:13 +0100)
committerNeil Henning <neil.henning@unity3d.com>
Tue, 15 Jun 2021 10:08:13 +0000 (11:08 +0100)
commit1540da3b788272e9aacc698ef96e75a4a5839ee1
tree24cecbaef6252caa8ccbe4a4ec02537c8c744915
parentfffb975095119adb5f91be4e3c83ac0cb4b1602c
ABI breaking changes fixes.

This commit mostly just replaces bad uses of `NDEBUG` with uses of
`LLVM_ENABLE_ABI_BREAKING_CHANGES` - the safe way to include ABI
breaking changes (normally extra struct elements in headers).

Differential Revision: https://reviews.llvm.org/D104216
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/include/llvm/Support/GenericDomTreeConstruction.h
llvm/include/llvm/Transforms/Scalar/JumpThreading.h
llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp