[Lldb-commits] [PATCH] Avoid leakage of file descriptors in LLDB and LLGS

Zachary Turner zturner at google.com
Tue Feb 3 08:50:13 PST 2015

I had hoped there was already a command in lldb that did this, but i guess
not. Can you just mark the test xfail for windows?
On Tue, Feb 3, 2015 at 8:47 AM Pavel Labath <labath at google.com> wrote:

> On linux, you can just enumerate the files in /proc/PID/fd/. However, this
> approach does not work on mac (afaik there is no proc filesystem there).
> This was the most general solution I could think of, and it should work on
> most posix implementations (those that we care about at least). I am aware
> that it will likely not work on windows. If you have a proposal how to test
> it, I will be happy to add it.
> I agree that file handle/descriptor inspection using the debugger is a
> very useful feature, but I think implementing it is out of scope of what I
> am trying to achieve here.
> http://reviews.llvm.org/D7372
>   http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150203/92cadd5c/attachment.html>

More information about the lldb-commits mailing list