summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-12-04 21:56:36 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-12-04 21:56:36 +0000
commit08615796109fc3a0cc1403803b0d1bab8e6e8828 (patch)
tree2fcc732a10de46aad6d63114f7d9a20069d0d39b /clang/lib/Frontend/InitPreprocessor.cpp
parent7c2cf5c5cca5456f3d1ba3fcfc7f2ad414317b8e (diff)
downloadbcm5719-llvm-08615796109fc3a0cc1403803b0d1bab8e6e8828.tar.gz
bcm5719-llvm-08615796109fc3a0cc1403803b0d1bab8e6e8828.zip
[libclang] Record parsing invocation to a temporary file when requested
by client This patch extends libclang by allowing it to record parsing operations to a temporary JSON file. The file is deleted after parsing succeeds. When a crash happens during parsing, the file is preserved and the client will be able to use it to generate a reproducer for the crash. These files are not emitted by default, and the client has to specify the invocation emission path first. rdar://35322543 Differential Revision: https://reviews.llvm.org/D40527 llvm-svn: 319702
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud