Support !heapallocsite attachments in stripNonLineTableDebugInfo().
authorAdrian Prantl <aprantl@apple.com>
Mon, 15 Mar 2021 23:16:36 +0000 (16:16 -0700)
committerAdrian Prantl <aprantl@apple.com>
Tue, 16 Mar 2021 17:05:12 +0000 (10:05 -0700)
commitb04c87e0537672d1377d26a7bfe141021119f618
tree46595d980acd6e2634dd19219738cc47e386a810
parent6ab8927931851bb42b2c93a00801dc499d7d9b1e
Support !heapallocsite attachments in stripNonLineTableDebugInfo().

They point into the DIType type system, so they need to be stripped as well.

rdar://75341300

Differential Revision: https://reviews.llvm.org/D98667
llvm/lib/IR/DebugInfo.cpp
llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-heapallocsite.ll [new file with mode: 0644]