diff options
author | William Huang <williamjhuang@google.com> | 2023-02-06 22:26:10 +0000 |
---|---|---|
committer | William Huang <williamjhuang@google.com> | 2023-02-06 22:29:20 +0000 |
commit | 84719e2f038751b0c76d668413934dd54f720e84 (patch) | |
tree | cf0607aacd4edca9542d48cea05c7bab35305efd /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | f85a9a6452e8f49f9768d66a86434a88a5891614 (diff) | |
download | llvm-84719e2f038751b0c76d668413934dd54f720e84.zip llvm-84719e2f038751b0c76d668413934dd54f720e84.tar.gz llvm-84719e2f038751b0c76d668413934dd54f720e84.tar.bz2 |
[llvm-profdata] Fix bug llvm-profdata crashes when reading a text sample profile with an empty line with spaces.
Text editors can introduce spaces aligning the previous line's indentation. This crashes llvm-profdata. Added check to handle this case.
Reviewed By: snehasish
Differential Revision: https://reviews.llvm.org/D143369
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions