[PATCH] D65846: Improve error message from FrontendAction

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 7 12:58:38 PDT 2019


jfb added a comment.

My current guess is that this part of the test:

  c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp -Xclang -triple -Xclang x86_64-apple-darwin

Is expected to generate the `unknown type name` error, but when than happens it ignores `-fmodules-cache-path=%t.mcp` and doesn't create the directory. The next line expects the directory to exist, which is why it can't create the lock file (because the directory it's trying to create it in doesn't exist).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65846





More information about the cfe-commits mailing list