[all-commits] [llvm/llvm-project] 57a3d9: [Debugify] Support checking Machine IR debug info
xiangzh1 via All-commits
all-commits at lists.llvm.org
Mon Dec 14 17:42:49 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 57a3d9ec4a8c1422f07264bed9f12a4ea416707e
https://github.com/llvm/llvm-project/commit/57a3d9ec4a8c1422f07264bed9f12a4ea416707e
Author: Xiang1 Zhang <xiang1.zhang at intel.com>
Date: 2020-12-14 (Mon, 14 Dec 2020)
Changed paths:
M llvm/docs/HowToUpdateDebugInfo.rst
M llvm/include/llvm/CodeGen/Passes.h
M llvm/include/llvm/CodeGen/TargetPassConfig.h
M llvm/include/llvm/InitializePasses.h
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/CodeGen.cpp
A llvm/lib/CodeGen/MachineCheckDebugify.cpp
M llvm/lib/CodeGen/MachineDebugify.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables-x.mir
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.ll
A llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir
M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Log Message:
-----------
[Debugify] Support checking Machine IR debug info
Add mir-check-debug pass to check MIR-level debug info.
For IR-level, currently, LLVM have debugify + check-debugify to generate
and check debug IR. Much like the IR-level pass debugify, mir-debugify
inserts sequentially increasing line locations to each MachineInstr in a
Module, But there is no equivalent MIR-level check-debugify pass, So now
we support it at "mir-check-debug".
Reviewed By: djtodoro
Differential Revision: https://reviews.llvm.org/D95195
More information about the All-commits
mailing list