Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.addr intrinsic.
authorAdrian Prantl <aprantl@apple.com>
Thu, 2 Apr 2020 23:05:45 +0000 (16:05 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 3 Apr 2020 00:39:33 +0000 (17:39 -0700)
commitc024f3ebdcfc9910d7d8f711a76d9dc669c9e97c
tree71e809857e6ff5ff717eb459d134eb65cc37fa28
parent8838d6d3566d940859fd26b20aed4cb57d490988
Teach the stripNonLineTableDebugInfo pass about the llvm.dbg.addr intrinsic.

This patch also strips llvm.dbg.addr intrinsics when downgrading debug
info to linetables-only.

Differential Revision: https://reviews.llvm.org/D77343
llvm/lib/IR/DebugInfo.cpp
llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll