[PATCH] D115351: [Debugify] Port verify-debuginfo-preserve to NewPM

Nikola Tesic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 07:49:24 PST 2021


ntesic created this revision.
ntesic added reviewers: Orlando, aprantl, MaskRay, djtodoro.
ntesic added a project: debug-info.
Herald added subscribers: ormris, hiraditya.
ntesic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Debugify in OriginalDebugInfo mode, introduced with D82545 <https://reviews.llvm.org/D82545> , runs only with legacy PassManager.
This patch enables this utility for the NewPM.


https://reviews.llvm.org/D115351

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  clang/test/Driver/verify-debug-info-preservation.c
  llvm/include/llvm/Transforms/Utils/Debugify.h
  llvm/lib/Transforms/Utils/Debugify.cpp
  llvm/test/DebugInfo/verify-di-preserve.ll
  llvm/tools/opt/NewPMDriver.cpp
  llvm/tools/opt/NewPMDriver.h
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115351.392773.patch
Type: text/x-patch
Size: 18646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/1948703e/attachment.bin>


More information about the llvm-commits mailing list