[PATCH] D40527: [libclang] Record parsing invocation to a temporary file when requested by client

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 16:51:11 PST 2017


arphaman added a comment.

In https://reviews.llvm.org/D40527#937282, @nik wrote:

> Could you elaborate on "the client will be able to use it to generate a reproducer for the crash"? Having the json file, what would I need to do in order to reproduce the crash?


Sure. I would like to teach clang how to interpret this file so that it can generate a reproducer for a crash (similar to a `-gen-reproducer`) option in clang. This way external IDE clients could leverage clang's reproducer infrastructure to generate reproducers for clang crashes. The external client will be responsible for determining when a crash happens and what files have to be passed to clang.


Repository:
  rC Clang

https://reviews.llvm.org/D40527





More information about the cfe-commits mailing list