summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDmitry Vasilyev <dvassiliev@accesssoftek.com>2024-07-26 19:12:05 +0400
committerGitHub <noreply@github.com>2024-07-26 19:12:05 +0400
commitf083764ba1ca35016c929683c8a5d918b5048100 (patch)
treeff1d7b3f4ea5983df659c5c8d58fbeab51a951ae /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent1e1c8d16153a8b3f53b6a8797a77112ecc289551 (diff)
[lldb] Optimized lldb-server memory usage (#100666)
MAX_PATH is definitely larger than 6 bytes we are expecting for this message, and could be rather large depending on the target OS (4K for some Linux OSs). Since the buffer gets allocated on the stack we better be conservative and allocate what we actually need.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions