Strip debug info when inlining into a nodebug function.
The LLVM backend cannot produce any debug info for an llvm::Function
without a DISubprogram attachment. When inlining a debug-info-carrying
function into a nodebug function, there is therefore no reason to keep
any debug info intrinsic calls or debug locations on the instructions.
This fixes a problem discovered in PR32042.
rdar://problem/
30679307
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296488
91177308-0d34-0410-b5e6-
96231b3b80d8