summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-07-07 14:28:41 -0700
committerArthur Eubanks <aeubanks@google.com>2021-07-07 14:28:55 -0700
commitd338e79a4cc1d52a6b5a1a241c2318a7288c0240 (patch)
treea40c70fdf17e95ec2b235e13936e736e24dc5aba /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent81ee4952f122b49772e09a1da4e2e51577d1690a (diff)
[OpaquePtr] Remove checking pointee type for byval/preallocated type
These currently always require a type parameter. The bitcode reader already upgrades old bitcode without the type parameter to use the pointee type. In cases where the caller does not have byval but the callee does, we need to follow CallBase::paramHasAttr() and also look at the callee for the byval type so that CallBase::isByValArgument() and CallBase::getParamByValType() are in sync. Do the same for preallocated. While we're here add a corresponding version for inalloca since we'll need it soon. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D104663
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions