[PATCH] D47643: Rewrite JSON dispatcher loop using C IO (FILE*) instead of std::istream.

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 3 21:55:20 PDT 2018


malaperle added a comment.

In https://reviews.llvm.org/D47643#1119187, @sammccall wrote:

> @malaperle: would you mind patching this in and checking whether attaching a debugger still works on Mac (this was the reason for the EINTR loop, right?)
>
> I want to preserve this but now people other than me are complaining about old clangds hanging around and eating all their CPU :-)


I tried the patch but as soon as I attach the debugger I get "IO error: Interrupted system call" from Clangd's stderr. I didn't get to look into this further.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47643





More information about the cfe-commits mailing list