[PATCH] D77915: [Debugify] Strip added metadata in the -debugify-each pipeline
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 16:09:52 PDT 2020
vsk created this revision.
vsk added reviewers: dsanders, aprantl.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Share logic to strip debugify metadata between the IR and MIR level
debugify passes. This makes it simpler to hunt for bugs by diffing IR
with vs. without -debugify-each turned on.
As a drive-by, fix an issue causing CallGraphNodes to become invalid
when a dead llvm.dbg.value prototype is deleted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77915
Files:
llvm/include/llvm/IR/IntrinsicInst.h
llvm/include/llvm/Transforms/Utils/Debugify.h
llvm/lib/Analysis/CallGraph.cpp
llvm/lib/CodeGen/MachineStripDebug.cpp
llvm/lib/Transforms/Utils/Debugify.cpp
llvm/test/DebugInfo/debugify-each.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77915.256692.patch
Type: text/x-patch
Size: 7270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200410/adce8169/attachment.bin>
More information about the llvm-commits
mailing list