]> granicus.if.org Git - llvm/commit
[dump] Remove NDEBUG from test to enable dump methods [NFC]
authorDon Hinton <hintonda@gmail.com>
Thu, 12 Oct 2017 16:16:06 +0000 (16:16 +0000)
committerDon Hinton <hintonda@gmail.com>
Thu, 12 Oct 2017 16:16:06 +0000 (16:16 +0000)
commit5298935fe70370278f9b4adb7462cf6b15d513df
tree8e0da11fb6cbfc4c316cf1811aaf6854951e1866
parenteb998271ba6237280a0ff6c3535b486c00a2afda
[dump] Remove NDEBUG from test to enable dump methods [NFC]

Summary:
Add LLVM_FORCE_ENABLE_DUMP cmake option, and use it along with
LLVM_ENABLE_ASSERTIONS to set LLVM_ENABLE_DUMP.

Remove NDEBUG and only use LLVM_ENABLE_DUMP to enable dump methods.

Move definition of LLVM_ENABLE_DUMP from config.h to llvm-config.h so
it'll be picked up by public headers.

Differential Revision: https://reviews.llvm.org/D38406

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315590 91177308-0d34-0410-b5e6-96231b3b80d8
113 files changed:
CMakeLists.txt
bindings/ocaml/llvm/llvm_ocaml.c
include/llvm/Analysis/DominanceFrontier.h
include/llvm/Analysis/DominanceFrontierImpl.h
include/llvm/Analysis/RegionInfo.h
include/llvm/Analysis/RegionInfoImpl.h
include/llvm/CodeGen/TargetSchedule.h
include/llvm/Config/config.h.cmake
include/llvm/Config/llvm-config.h.cmake
include/llvm/IR/Attributes.h
include/llvm/MC/MCSchedule.h
include/llvm/Object/Wasm.h
include/llvm/Support/Compiler.h
lib/Analysis/AliasSetTracker.cpp
lib/Analysis/BlockFrequencyInfoImpl.cpp
lib/Analysis/CallGraph.cpp
lib/Analysis/DependenceAnalysis.cpp
lib/Analysis/DominanceFrontier.cpp
lib/Analysis/IVUsers.cpp
lib/Analysis/InlineCost.cpp
lib/Analysis/LazyCallGraph.cpp
lib/Analysis/LoopInfo.cpp
lib/Analysis/MemorySSA.cpp
lib/Analysis/PHITransAddr.cpp
lib/Analysis/RegionInfo.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/Trace.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/CodeGen/AsmPrinter/DIE.cpp
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/BranchRelaxation.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/CodeGen/GlobalISel/RegBankSelect.cpp
lib/CodeGen/GlobalISel/RegisterBank.cpp
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
lib/CodeGen/InlineSpiller.cpp
lib/CodeGen/LexicalScopes.cpp
lib/CodeGen/LiveDebugValues.cpp
lib/CodeGen/LiveDebugVariables.cpp
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LivePhysRegs.cpp
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/MachineBasicBlock.cpp
lib/CodeGen/MachineFrameInfo.cpp
lib/CodeGen/MachineFunction.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/MachineLoopInfo.cpp
lib/CodeGen/MachinePipeliner.cpp
lib/CodeGen/MachineRegionInfo.cpp
lib/CodeGen/MachineRegisterInfo.cpp
lib/CodeGen/MachineScheduler.cpp
lib/CodeGen/PostRASchedulerList.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/RegisterPressure.cpp
lib/CodeGen/SafeStackColoring.cpp
lib/CodeGen/ScheduleDAG.cpp
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/CodeGen/ScoreboardHazardRecognizer.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
lib/CodeGen/SlotIndexes.cpp
lib/CodeGen/SplitKit.cpp
lib/CodeGen/StackColoring.cpp
lib/CodeGen/TargetRegisterInfo.cpp
lib/CodeGen/VirtRegMap.cpp
lib/IR/AsmWriter.cpp
lib/IR/Attributes.cpp
lib/IR/ConstantRange.cpp
lib/IR/Core.cpp
lib/IR/DebugLoc.cpp
lib/IR/GCOV.cpp
lib/IR/Pass.cpp
lib/IR/ValueSymbolTable.cpp
lib/MC/MCExpr.cpp
lib/MC/MCFragment.cpp
lib/MC/MCInst.cpp
lib/MC/MCLabel.cpp
lib/MC/MCParser/MCAsmParser.cpp
lib/MC/MCSection.cpp
lib/MC/MCSymbol.cpp
lib/MC/MCValue.cpp
lib/MC/SubtargetFeature.cpp
lib/MC/WasmObjectWriter.cpp
lib/Option/Arg.cpp
lib/Option/ArgList.cpp
lib/Option/Option.cpp
lib/ProfileData/SampleProf.cpp
lib/Support/APFloat.cpp
lib/Support/APInt.cpp
lib/Support/BranchProbability.cpp
lib/Support/Twine.cpp
lib/TableGen/Record.cpp
lib/TableGen/TGParser.cpp
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
lib/Target/AMDGPU/GCNRegPressure.cpp
lib/Target/ARM/ARMConstantIslandPass.cpp
lib/Target/ARM/ARMConstantPoolValue.cpp
lib/Target/Hexagon/HexagonSplitDouble.cpp
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
lib/Target/Mips/MipsConstantIslandPass.cpp
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
lib/Target/X86/X86FloatingPoint.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Transforms/Coroutines/CoroFrame.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Scalar/LoopStrengthReduce.cpp
lib/Transforms/Scalar/SROA.cpp
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/SubtargetEmitter.cpp
utils/TableGen/SubtargetFeatureInfo.cpp