summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-10-20 08:56:09 +0200
committerGitHub <noreply@github.com>2023-10-20 08:56:09 +0200
commit104c01eb31106233b96c38d056e3bb2fbad16c96 (patch)
tree8c02d18474903c990a2a7efcc2f7d4168556b158 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
parent8c88a823985a6cb4de9d5c1bba9b03747c75c622 (diff)
[FunctionAttrs] Only check ArgMem effects when inferring argument attrs (#69571)
When inferring readonly/writeonly on arguments, if the argument is passed to a call, we should only check the ArgMem effects implied by the call -- we don't care whether the call reads/writes non-arg memory (captured pointers are not relevant here, because they will abort the analysis entirely). This also fixes a regression that was introduced when moving to MemoryEffects: The code was still checking the old WriteOnly attribute on functions, which no longer exists.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions