[all-commits] [llvm/llvm-project] de5518: [LLDB] Fix crash when using tab completion on clas...
Sudharsan Veeravalli via All-commits
all-commits at lists.llvm.org
Thu Feb 29 01:40:40 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de5518836e16be3fbfce78394adc96d9bf70f2a5
https://github.com/llvm/llvm-project/commit/de5518836e16be3fbfce78394adc96d9bf70f2a5
Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M lldb/source/Symbol/Variable.cpp
M lldb/test/API/functionalities/completion/TestCompletion.py
M lldb/test/API/functionalities/completion/main.cpp
Log Message:
-----------
[LLDB] Fix crash when using tab completion on class variables (#83234)
We weren't checking to see if the partial_path was empty before adding
completions and this led to crashes when the class object and a variable
both start with the same substring.
Fixes [#81536](https://github.com/llvm/llvm-project/issues/81536)
---------
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list