diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-02-28 16:58:13 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-02-28 16:58:13 +0000 |
commit | 80d0c9343642f9e72f6ec6d6d9ceda483adb996c (patch) | |
tree | 7433e65eeea9a9e350d4d7c97eec72d187b19ef0 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 431359aa8b04efb50147eb45aa5d157824da26bf (diff) | |
download | bcm5719-llvm-80d0c9343642f9e72f6ec6d6d9ceda483adb996c.tar.gz bcm5719-llvm-80d0c9343642f9e72f6ec6d6d9ceda483adb996c.zip |
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
llvm-svn: 296488
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions