summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python/python.test
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-07-08 20:56:05 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-07-09 21:14:41 +0200
commitb00cff56cfb15cbfa74cb512c9cee1c402cce55b (patch)
treeee120652f905829eaa79b729d0958ac16239c898 /lldb/test/Shell/ScriptInterpreter/Python/python.test
parentc476566be5d025a3f122392af481a74f887911e6 (diff)
Reapply [IR] Don't accept nullptr as GEP element type
Reapply after fixing another occurrence in lldb that was relying on this in the preceding commit. ----- GetElementPtrInst::Create() (and IRBuilder methods based on it) currently accept nullptr as the element type, and will fetch the element type from the pointer in that case. Remove this fallback, as it is incompatible with opaque pointers. I've removed a handful of leftover calls using this behavior as a preliminary step. Out-of-tree code affected by this change should either pass a proper type, or can temporarily explicitly call getPointerElementType(), if the newly added assertion is encountered. Differential Revision: https://reviews.llvm.org/D105653
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions