[all-commits] [llvm/llvm-project] d9fa18: Scatter NDEBUG to fix after 838b4a533e6

Jeremy Morse via All-commits all-commits at lists.llvm.org
Tue Oct 12 09:13:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9fa186a5cfe5527b086698a7a857e896193b85c
      https://github.com/llvm/llvm-project/commit/d9fa186a5cfe5527b086698a7a857e896193b85c
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h

  Log Message:
  -----------
  Scatter NDEBUG to fix after 838b4a533e6

These "dump" methods call into MachineOperand::dump, which doesn't exist
with NDEBUG, thus we croak. Disable LiveDebugValues dump methods when
NDEBUG is turned on to avoid this.




More information about the All-commits mailing list