llvm-project/clang/tools
Alex Lorenz 0861579610 [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
2017-12-04 21:56:36 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [libclang] Record parsing invocation to a temporary file when requested 2017-12-04 21:56:36 +00:00
clang-check Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00
clang-diff [clang-diff] NFC: format 2017-11-05 11:53:18 +00:00
clang-format Fix assume-filename handling in clang-format.el 2017-12-02 21:18:14 +00:00
clang-format-vs clang-format plugin: Add missing NL (new line) at EOF (end of file) 2017-09-22 21:47:39 +00:00
clang-func-mapping Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00
clang-fuzzer [cmake] Rename LIB_FUZZING_ENGINE to LLVM_LIB_FUZZING_ENGINE. 2017-10-12 22:00:09 +00:00
clang-import-test Add support for remembering origins to ExternalASTMerger 2017-09-27 19:57:58 +00:00
clang-offload-bundler Update for llvm change. 2017-09-08 00:01:26 +00:00
clang-refactor [clang-refactor] Introduce a new rename rule for qualified symbols 2017-11-08 08:56:56 +00:00
clang-rename Now that C++17 is official (https://www.iso.org/standard/68564.html), start changing the C++1z terminology over to C++17. NFC intended, these are all mechanical changes. 2017-12-04 20:27:34 +00:00
diag-build
diagtool [refactor] allow the use of refactoring diagnostics 2017-10-16 18:28:26 +00:00
driver Update cc1as_main for MCCodeEmitter ownership change in r315531. 2017-10-11 23:35:27 +00:00
libclang [libclang] Record parsing invocation to a temporary file when requested 2017-12-04 21:56:36 +00:00
scan-build [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
scan-build-py [scan-build-py] Patch to fix "-analyzer-config" option 2017-07-19 00:29:41 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00