Scatter NDEBUG to fix after 838b4a533e6
authorJeremy Morse <jeremy.morse@sony.com>
Tue, 12 Oct 2021 16:05:51 +0000 (17:05 +0100)
committerJeremy Morse <jeremy.morse@sony.com>
Tue, 12 Oct 2021 16:13:15 +0000 (17:13 +0100)
commitd9fa186a5cfe5527b086698a7a857e896193b85c
tree64e52c60308682fd6606e6d4828c01c4b13511e9
parent1112b7bad851c78af2159d39c7bff670a9c77da1
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.
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h