diff options
author | Qiu Chaofan <qiucofan@cn.ibm.com> | 2020-06-16 11:41:25 +0800 |
---|---|---|
committer | Qiu Chaofan <qiucofan@cn.ibm.com> | 2020-06-16 11:41:25 +0800 |
commit | e62912b19063937a55e10064266888c0534b2211 (patch) | |
tree | 4fa078bc1b912a8f4c3874d6385c57c3fbbb0626 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 2ba320846b1b33b37a4794ab4196b19206eb14c8 (diff) | |
download | llvm-e62912b19063937a55e10064266888c0534b2211.zip llvm-e62912b19063937a55e10064266888c0534b2211.tar.gz llvm-e62912b19063937a55e10064266888c0534b2211.tar.bz2 |
[LLParser] Delete temp CallInst when error occurs
Only functions with floating-point return type accepts fast-math flags.
When adding such flags to function returning integer, we'll see a crash,
because there's still an undeleted value referencing the argument. This
patch manually removes the temporary instruction when error occurs.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D78355
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions