[PATCH] D109506: [clangd] Print current request context along with the stack trace

Emma Blink via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 14 10:54:22 PDT 2021


0x1eaf added a comment.

I've tried making an integration test in addition to the unit test, but I couldn't find a way to make lit ignore the crashed process exit status:

  FAIL: Clangd :: crash.test (1049 of 1049)
  ******************** TEST 'Clangd :: crash.test' FAILED ********************
  Script:
  --
  : 'RUN: at line 2';   yes '[' | head -n 50000 | sh -c "clangd --input-style=delimited 2>&1 || true"
  --
  Exit Code: 141

I've also tried using `not` to the same effect:

  # RUN: yes '[' | head -n 50000 | not clangd --input-style=delimited

Is there some trick that I'm missing?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109506/new/

https://reviews.llvm.org/D109506



More information about the cfe-commits mailing list