diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-07-21 10:46:50 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-07-21 11:28:36 +0200 |
| commit | 235fb602ed99c59f2a741533906c19280d791e18 (patch) | |
| tree | 741c48c5915bd94292d6f8877bde2eb9189c1cad /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp | |
| parent | ea623af7c90f0c02fed72010a018cb1e259cca8d (diff) | |
[MemoryBuiltins] Don't query TLI for non-pointer functions (NFC)
Fetching allocation data for calls is a rather hot operation, and
TLI lookups are slow. We can greatly reduce the number of calls
for which TLI is queried by checking that they return a pointer
value first, as this is a requirement for allocation functions
anyway.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
