Re: [lldb-dev] [RFC] Listing files in remote directory

2020-07-27 Thread Pavel Labath via lldb-dev
On 26/07/2020 21:02, Raphael “Teemperor” Isemann via lldb-dev wrote: > I think classifying into local/platform isn't an issue (I think we > always know if we're doing remote or local completion), but the bigger > problem is that I'm not sure if we can easily list files/subdirs in a > remote directo

Re: [lldb-dev] [RFC] Listing files in remote directory

2020-07-26 Thread Raphael “Teemperor” Isemann via lldb-dev
I think classifying into local/platform isn't an issue (I think we always know if we're doing remote or local completion), but the bigger problem is that I'm not sure if we can easily list files/subdirs in a remote directory. I didn't find any existing functionality that's doing this, so I guess

Re: [lldb-dev] [RFC] Listing files in remote directory

2020-07-24 Thread Greg Clayton via lldb-dev
> On Jul 24, 2020, at 9:55 AM, GongYu Deng via lldb-dev > wrote: > > Hello everyone, > > To implement a remote disk file completion like > CommandCompletions:DiskFilesOrDirectories for commands like "platform > get-size”, I was trying to find out how local disk files are resolved. It > see

[lldb-dev] [RFC] Listing files in remote directory

2020-07-24 Thread GongYu Deng via lldb-dev
Hello everyone, To implement a remote disk file completion like CommandCompletions:DiskFilesOrDirectories for commands like "platform get-size”, I was trying to find out how local disk files are resolved. It seems the resolving mechanism is based on the llvm::sys module with which the implemen