summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-03-03 15:50:10 -0800
committerArthur Eubanks <aeubanks@google.com>2023-03-06 15:43:34 -0800
commit24a08593b946ac78c54c57dc52ec005bd7c44aaa (patch)
tree51dd357f3b43ac55665d03238b404c1f3da783d6 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
parent8d594848c598007cd9438d1fa8b835590c4de8c4 (diff)
[LLParser] Error out if a name is too long and gets renamed
Typically names longer than -non-global-value-max-name-size will just get renamed if there is a collision after truncating. This is fine since we typically don't reference Values by name. However LLParser does reference Values by name, so report an error when that happens, otherwise weird issues can crop up if there are name collisions (e.g. verifier issues with the changed test case because we end up reusing the same block for `testz` and `testa`). Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D145282
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions