[NPM] Port module-debuginfo pass to the new pass manager
authorAmy Huang <akhuang@google.com>
Mon, 19 Oct 2020 21:31:17 +0000 (14:31 -0700)
committerAmy Huang <akhuang@google.com>
Mon, 19 Oct 2020 21:31:17 +0000 (14:31 -0700)
commitea693a162786d933863ab079648d4261ac0ead47
treeb223c003748114d0dfac7eddddec7a308dee93a3
parente0567582b8b1def8656f4a5addce0909fa51c86e
[NPM] Port module-debuginfo pass to the new pass manager

Port pass to NPM and update tests in DebugInfo/Generic.

Differential Revision: https://reviews.llvm.org/D89730
llvm/include/llvm/Analysis/ModuleDebugInfoPrinter.h [new file with mode: 0644]
llvm/include/llvm/InitializePasses.h
llvm/lib/Analysis/Analysis.cpp
llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll
llvm/test/DebugInfo/Generic/debuginfofinder-imported-global-variable.ll
llvm/test/DebugInfo/Generic/debuginfofinder-inlined-cu.ll
llvm/test/DebugInfo/Generic/debuginfofinder-multiple-cu.ll