diff options
| author | Philip Reames <listmail@philipreames.com> | 2022-01-07 10:30:53 -0800 |
|---|---|---|
| committer | Philip Reames <listmail@philipreames.com> | 2022-01-07 10:32:26 -0800 |
| commit | dcbc91f40c2e6ff578667020f7c6a05c25149865 (patch) | |
| tree | dcc8859523dfd760e635e67222f5cab4040bcef5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 68defc013444f21a46757b64e9144bb218c9e7eb (diff) | |
[instcombine] Delete duplicate object size logic
nstCombine appears to duplicate the allocation size logic used inside getObjectSize when figuring out which attributes are safe to place on the callsite. We can use the existing utility function instead.
The test change is correct. With aligned_alloc, a zero alignment is required to return nullptr. As such, deref_or_null is a correct attribute to use.
Differential Revision: https://reviews.llvm.org/D116816
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
