[all-commits] [llvm/llvm-project] 8f973d: [DebugInfo] Fix crash when printing malformed DBG ...
Jay Foad via All-commits
all-commits at lists.llvm.org
Wed Aug 2 00:28:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f973d5c455cecfbee7766e23c3fcc3eb1048f1e
https://github.com/llvm/llvm-project/commit/8f973d5c455cecfbee7766e23c3fcc3eb1048f1e
Author: Jay Foad <jay.foad at amd.com>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M llvm/lib/CodeGen/MachineInstr.cpp
A llvm/test/CodeGen/MIR/Generic/dbg-value.mir
Log Message:
-----------
[DebugInfo] Fix crash when printing malformed DBG machine instructions
MachineVerifier does not check that DBG_VALUE, DBG_VALUE_LIST and
DBG_INSTR_REF have the expected number of operands, so printing them
(e.g. with -print-after-all) should not crash.
Differential Revision: https://reviews.llvm.org/D156226
More information about the All-commits
mailing list