aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorXiang Li <python3kgae@outlook.com>2025-05-02 10:41:14 -0400
committerGitHub <noreply@github.com>2025-05-02 10:41:14 -0400
commitc54122fe538f0edbf5a7a6f2a62bf4973a00262c (patch)
tree32aaf08befecfa9e68c9ac7073f4b5e2322f1f8c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent580da48a93ea3065cced426bb37df65a933c21f7 (diff)
downloadllvm-c54122fe538f0edbf5a7a6f2a62bf4973a00262c.zip
llvm-c54122fe538f0edbf5a7a6f2a62bf4973a00262c.tar.gz
llvm-c54122fe538f0edbf5a7a6f2a62bf4973a00262c.tar.bz2
[NFC][mlir][AsmPrinter] Don't compute resourceStr when --mlir-elide-resource-strings-if-larger=0 (#138275)
When skipping the printing of large DenseResourceElementsAttr with --mlir-elide-resource-strings-if-larger, we need to compute resourceStr to check if the string is small enough to print. With --mlir-elide-resource-strings-if-larger set to 0, nothing should be printed, but we still compute the size. This change will allow an early return when --mlir-elide-resource-strings-if-larger=0, making the print process faster.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions