[PATCH] D11833: s/NDEBUG/LLVM_NDEBUG/ in most places

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 08:27:21 PDT 2015


tstellarAMD created this revision.
tstellarAMD added reviewers: echristo, chandlerc, beanz.
tstellarAMD added a subscriber: llvm-commits.
Herald added subscribers: qcolombet, MatzeB.

The goal of this change is to remove the dependency on NDEBUG in
headers, so that library users can freely choose whether or not to
define this value when building their applications.

http://reviews.llvm.org/D11833

Files:
  Makefile.rules
  cmake/modules/HandleLLVMOptions.cmake
  include/llvm/ADT/IntervalMap.h
  include/llvm/ADT/Statistic.h
  include/llvm/Analysis/DominanceFrontier.h
  include/llvm/Analysis/DominanceFrontierImpl.h
  include/llvm/Analysis/LoopAccessAnalysis.h
  include/llvm/Analysis/LoopInfoImpl.h
  include/llvm/Analysis/RegionInfo.h
  include/llvm/Analysis/RegionInfoImpl.h
  include/llvm/Analysis/ScalarEvolution.h
  include/llvm/Analysis/ScalarEvolutionExpander.h
  include/llvm/CodeGen/DIE.h
  include/llvm/CodeGen/FunctionLoweringInfo.h
  include/llvm/CodeGen/LiveInterval.h
  include/llvm/CodeGen/LiveIntervalUnion.h
  include/llvm/CodeGen/MachineRegisterInfo.h
  include/llvm/CodeGen/MachineScheduler.h
  include/llvm/CodeGen/PBQP/ReductionRules.h
  include/llvm/CodeGen/RegAllocPBQP.h
  include/llvm/CodeGen/ScheduleDAG.h
  include/llvm/CodeGen/ScheduleDAGInstrs.h
  include/llvm/CodeGen/ScoreboardHazardRecognizer.h
  include/llvm/CodeGen/SelectionDAG.h
  include/llvm/CodeGen/TargetSchedule.h
  include/llvm/IR/DebugInfoMetadata.h
  include/llvm/IR/Instructions.h
  include/llvm/IR/Statepoint.h
  include/llvm/IR/ValueHandle.h
  include/llvm/MC/MCSchedule.h
  include/llvm/MC/MachineLocation.h
  include/llvm/Support/Compiler.h
  include/llvm/Support/Debug.h
  include/llvm/Support/ErrorHandling.h
  include/llvm/Support/UnicodeCharRanges.h
  include/llvm/Support/Valgrind.h
  lib/Analysis/AliasSetTracker.cpp
  lib/Analysis/AssumptionCache.cpp
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/Analysis/BlockFrequencyInfoImpl.cpp
  lib/Analysis/CFG.cpp
  lib/Analysis/DependenceAnalysis.cpp
  lib/Analysis/DominanceFrontier.cpp
  lib/Analysis/IPA/CallGraph.cpp
  lib/Analysis/IPA/CallGraphSCCPass.cpp
  lib/Analysis/IPA/InlineCost.cpp
  lib/Analysis/IVUsers.cpp
  lib/Analysis/LazyCallGraph.cpp
  lib/Analysis/LoopAccessAnalysis.cpp
  lib/Analysis/LoopInfo.cpp
  lib/Analysis/MemoryDependenceAnalysis.cpp
  lib/Analysis/PHITransAddr.cpp
  lib/Analysis/RegionInfo.cpp
  lib/Analysis/ScalarEvolution.cpp
  lib/Analysis/TargetLibraryInfo.cpp
  lib/Analysis/Trace.cpp
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/CodeGen/AggressiveAntiDepBreaker.cpp
  lib/CodeGen/AllocationOrder.cpp
  lib/CodeGen/AsmPrinter/DIE.cpp
  lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
  lib/CodeGen/AsmPrinter/DwarfAccelTable.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/CallingConvLower.cpp
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/CriticalAntiDepBreaker.cpp
  lib/CodeGen/IfConversion.cpp
  lib/CodeGen/InlineSpiller.cpp
  lib/CodeGen/LexicalScopes.cpp
  lib/CodeGen/LiveDebugVariables.cpp
  lib/CodeGen/LiveInterval.cpp
  lib/CodeGen/LiveIntervalAnalysis.cpp
  lib/CodeGen/LiveIntervalUnion.cpp
  lib/CodeGen/LivePhysRegs.cpp
  lib/CodeGen/LiveRangeCalc.cpp
  lib/CodeGen/LiveVariables.cpp
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineBlockFrequencyInfo.cpp
  lib/CodeGen/MachineBlockPlacement.cpp
  lib/CodeGen/MachineFunction.cpp
  lib/CodeGen/MachineInstr.cpp
  lib/CodeGen/MachineLoopInfo.cpp
  lib/CodeGen/MachineRegionInfo.cpp
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/MachineScheduler.cpp
  lib/CodeGen/MachineTraceMetrics.cpp
  lib/CodeGen/PostRASchedulerList.cpp
  lib/CodeGen/RegAllocBase.cpp
  lib/CodeGen/RegAllocGreedy.cpp
  lib/CodeGen/RegAllocPBQP.cpp
  lib/CodeGen/RegisterCoalescer.cpp
  lib/CodeGen/RegisterPressure.cpp
  lib/CodeGen/RegisterScavenging.cpp
  lib/CodeGen/ScheduleDAG.cpp
  lib/CodeGen/ScheduleDAGInstrs.cpp
  lib/CodeGen/ScheduleDAGPrinter.cpp
  lib/CodeGen/ScoreboardHazardRecognizer.cpp
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  lib/CodeGen/SlotIndexes.cpp
  lib/CodeGen/SplitKit.cpp
  lib/CodeGen/StackColoring.cpp
  lib/CodeGen/StackMaps.cpp
  lib/CodeGen/StackSlotColoring.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/CodeGen/TargetRegisterInfo.cpp
  lib/CodeGen/TargetSchedule.cpp
  lib/CodeGen/TwoAddressInstructionPass.cpp
  lib/CodeGen/VirtRegMap.cpp
  lib/CodeGen/WinEHPrepare.cpp
  lib/ExecutionEngine/ExecutionEngine.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  lib/IR/AttributeImpl.h
  lib/IR/Attributes.cpp
  lib/IR/Constants.cpp
  lib/IR/DIBuilder.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/IR/DebugLoc.cpp
  lib/IR/Instructions.cpp
  lib/IR/LLVMContextImpl.cpp
  lib/IR/LegacyPassManager.cpp
  lib/IR/Type.cpp
  lib/IR/Value.cpp
  lib/IR/ValueSymbolTable.cpp
  lib/Linker/LinkModules.cpp
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCAssembler.cpp
  lib/MC/MCExpr.cpp
  lib/MC/MCInst.cpp
  lib/MC/MCLabel.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCParser/MCAsmParser.cpp
  lib/MC/MCSection.cpp
  lib/MC/MCSubtargetInfo.cpp
  lib/MC/MCSymbol.cpp
  lib/MC/MCValue.cpp
  lib/MC/MachObjectWriter.cpp
  lib/MC/SubtargetFeature.cpp
  lib/Object/COFFObjectFile.cpp
  lib/Option/OptTable.cpp
  lib/Passes/PassBuilder.cpp
  lib/Support/CommandLine.cpp
  lib/Support/Debug.cpp
  lib/Support/IntervalMap.cpp
  lib/Support/Statistic.cpp
  lib/Support/raw_ostream.cpp
  lib/Support/regengine.inc
  lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  lib/Target/AArch64/AArch64BranchRelaxation.cpp
  lib/Target/AArch64/AArch64CollectLOH.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  lib/Target/AArch64/AArch64PromoteConstant.cpp
  lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
  lib/Target/AMDGPU/SILowerControlFlow.cpp
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/ARM/ARMBaseRegisterInfo.cpp
  lib/Target/ARM/ARMConstantIslandPass.cpp
  lib/Target/ARM/ARMExpandPseudoInsts.cpp
  lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
  lib/Target/ARM/ThumbRegisterInfo.cpp
  lib/Target/BPF/InstPrinter/BPFInstPrinter.cpp
  lib/Target/Hexagon/HexagonBitTracker.cpp
  lib/Target/Hexagon/HexagonFrameLowering.cpp
  lib/Target/Hexagon/HexagonGenInsert.cpp
  lib/Target/Hexagon/HexagonHardwareLoops.cpp
  lib/Target/Hexagon/HexagonISelLowering.cpp
  lib/Target/Hexagon/HexagonMachineScheduler.cpp
  lib/Target/Hexagon/HexagonMachineScheduler.h
  lib/Target/Hexagon/HexagonRegisterInfo.cpp
  lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  lib/Target/MSP430/MSP430ISelLowering.cpp
  lib/Target/Mips/Mips16ISelLowering.cpp
  lib/Target/Mips/MipsCCState.cpp
  lib/Target/Mips/MipsConstantIslandPass.cpp
  lib/Target/Mips/MipsDelaySlotFiller.cpp
  lib/Target/Mips/MipsISelDAGToDAG.cpp
  lib/Target/Mips/MipsMachineFunction.cpp
  lib/Target/Mips/MipsMachineFunction.h
  lib/Target/PowerPC/PPC.h
  lib/Target/PowerPC/PPCCTRLoops.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
  lib/Target/Sparc/SparcAsmPrinter.cpp
  lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
  lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  lib/Target/X86/X86FloatingPoint.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86ISelDAGToDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86SelectionDAGInfo.cpp
  lib/Target/X86/X86WinEHState.cpp
  lib/Target/XCore/XCoreFrameLowering.cpp
  lib/Target/XCore/XCoreISelLowering.cpp
  lib/Target/XCore/XCoreRegisterInfo.cpp
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  lib/Transforms/Instrumentation/MemorySanitizer.cpp
  lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  lib/Transforms/Scalar/GVN.cpp
  lib/Transforms/Scalar/IndVarSimplify.cpp
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  lib/Transforms/Scalar/JumpThreading.cpp
  lib/Transforms/Scalar/LICM.cpp
  lib/Transforms/Scalar/LoopDistribute.cpp
  lib/Transforms/Scalar/LoopStrengthReduce.cpp
  lib/Transforms/Scalar/Reassociate.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  lib/Transforms/Scalar/SCCP.cpp
  lib/Transforms/Scalar/SROA.cpp
  lib/Transforms/Utils/CloneFunction.cpp
  lib/Transforms/Utils/CodeExtractor.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/LowerSwitch.cpp
  lib/Transforms/Vectorize/BBVectorize.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  tools/verify-uselistorder/verify-uselistorder.cpp
  utils/TableGen/CodeGenDAGPatterns.cpp
  utils/TableGen/CodeGenSchedule.cpp
  utils/TableGen/CodeGenSchedule.h
  utils/TableGen/RegisterInfoEmitter.cpp
  utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11833.31512.patch
Type: text/x-patch
Size: 204110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150807/28784530/attachment-0001.bin>


More information about the llvm-commits mailing list