diff options
author | aqjune <aqjune@gmail.com> | 2019-11-05 13:26:51 +0900 |
---|---|---|
committer | aqjune <aqjune@gmail.com> | 2019-11-05 13:53:52 +0900 |
commit | 31be9f3f7dee80c586d3beac9a65663d5628cf96 (patch) | |
tree | a88651f3e38b337ab1e27ba8e9da40181bbbd233 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | 0aba69eb1a01c44185009f50cc633e3c648e9950 (diff) | |
download | llvm-31be9f3f7dee80c586d3beac9a65663d5628cf96.zip llvm-31be9f3f7dee80c586d3beac9a65663d5628cf96.tar.gz llvm-31be9f3f7dee80c586d3beac9a65663d5628cf96.tar.bz2 |
Fix clone_constant_impl to correctly deal with null pointers
Summary:
This patch resolves llvm-c-test's following error
```
LLVM ERROR: LLVMGetValueKind returned incorrect type
```
which arises when the input bitcode contains a null pointer.
Reviewers: jdoerfert, CodaFi, deadalnix
Reviewed By: jdoerfert
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68928
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions