medismailben wrote:

> This is for this sort of lookup:
> 
> ```
> (lldb) reg read pc
> ```
> 
> Right? As opposed to tab completion.

Right, tab completion already can suggest multiple candidates, so that worked 
already.

> This needs a test case or at least a clear example as a comment in the code 
> if a test is not possible. It seems fine from how you've described it but 
> these things come across better with a clear example.

Sorry if this wasn't clear, but I didn't write a test case because there was 
already a test case in https://github.com/llvm/llvm-project/pull/97263, but I 
guess I could write a test to test the ordering precisely (custom command, then 
alias, then native command)

https://github.com/llvm/llvm-project/pull/101934
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to