diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-07-21 11:40:35 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-07-21 11:43:48 +0200 |
| commit | d144ae6e1bfb2463d62ad4324b89de667cbd0e0f (patch) | |
| tree | 17d5061b31f947e660a8094fcc131e79e51be3bb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | e60eb7053dc91a23cc3b96652aeda7513dd4b082 (diff) | |
[MemoryBuiltins] Default to trivial mapper in getAllocSize() (NFC)
Default getAllocSize() to use the trivial mapper. Also switch
from using std::function to function_ref.
Furthermore, update the doc comment to point out a subtle difference
between getAllocSize() and getObjectSize(): The latter may also
return something for calls that return their argument (via "returned"
attribute or special intrinsics like invariant groups).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
