Akira Hatanaka
3738ce05a7
Add support for a backdoor driver option that enables emitting header
...
usage information in JSON to a file
Each line in the file is a JSON object that has the name of the main
source file followed by the list of system header files included
directly or indirectly from that file.
For example:
{"source":"/tmp/foo.c",
"includes":["/usr/include/stdio.h", "/usr/include/stdlib.h"]}
To reduce the amount of data written to the file, only the system
headers that are directly included from a non-system header file are
recorded.
In order to emit the header information in JSON, it is necessary to set
the following environment variables:
CC_PRINT_HEADERS_FORMAT=json CC_PRINT_HEADERS_FILTERING=only-direct-system
The following combination is equivalent to setting CC_PRINT_HEADERS=1:
CC_PRINT_HEADERS_FORMAT=textual CC_PRINT_HEADERS_FILTERING=none
Differential Revision: https://reviews.llvm.org/D137996
2022-12-07 15:30:19 -08:00
..
2022-12-07 15:30:19 -08:00
2021-11-05 00:43:40 -05:00
2022-12-07 16:30:16 +01:00
2021-06-23 07:40:38 -04:00
2019-11-12 12:45:18 +00:00
2020-12-03 07:53:59 -08:00
2019-06-07 12:42:54 +00:00
2022-11-16 10:20:14 +00:00
2021-08-18 07:33:14 -04:00
2022-11-23 01:21:09 +01:00
2022-11-23 01:21:09 +01:00
2022-05-06 13:46:49 +00:00
2021-10-17 09:23:43 -04:00
2021-07-25 23:30:57 -05:00
2022-04-06 11:37:37 +08:00
2022-04-12 13:29:46 -07:00
2022-12-06 11:02:27 +08:00
2022-05-12 09:26:44 -04:00
2021-10-09 08:20:20 -04:00
2022-07-23 14:10:11 +02:00
2022-02-12 07:25:06 -05:00
2022-05-19 11:34:42 -04:00
2022-10-21 11:23:10 +00:00
2019-05-16 21:13:49 +00:00
2022-05-11 15:05:55 -07:00
2022-06-03 17:54:03 -07:00
2021-07-25 23:30:57 -05:00
2022-06-29 19:36:22 +01:00
2021-10-17 07:54:48 -04:00
2021-10-17 07:54:48 -04:00
2021-10-17 07:54:48 -04:00
2022-09-13 11:08:58 -04:00
2019-11-25 17:35:12 -05:00
2022-05-19 11:34:42 -04:00
2021-07-25 23:30:57 -05:00
2020-02-25 09:43:52 -05:00
2022-11-18 09:39:47 -08:00
2022-04-12 13:29:46 -07:00
2022-05-12 09:26:44 -04:00
2022-05-12 09:26:44 -04:00
2019-08-09 19:49:14 +00:00
2019-05-27 19:15:30 +00:00
2022-06-27 11:37:40 +01:00
2022-11-03 13:58:47 -07:00
2022-04-06 11:37:37 +08:00
2022-11-10 17:27:29 +08:00
2022-02-23 15:00:18 -08:00
2022-11-22 17:01:39 -08:00
2022-04-22 02:03:55 -04:00
2022-02-23 15:00:18 -08:00
2022-02-23 15:00:18 -08:00
2021-08-16 18:34:29 +09:00
2022-10-03 10:58:45 +03:00
2022-11-17 19:48:01 -05:00
2022-11-02 13:49:04 -07:00
2022-08-26 18:20:06 -04:00
2022-08-26 18:20:06 -04:00
2021-04-01 09:47:56 +01:00
2022-09-20 11:31:38 -07:00
2022-12-01 07:21:07 -08:00
2021-07-25 23:30:57 -05:00
2022-05-11 06:42:00 -04:00
2022-05-11 06:42:00 -04:00
2021-04-21 13:34:33 +03:00
2021-04-26 22:04:29 +03:00
2021-01-27 10:59:57 -08:00
2022-05-12 09:26:44 -04:00
2022-05-04 08:35:47 -04:00
2022-02-12 07:25:06 -05:00
2021-07-25 23:30:57 -05:00
2022-05-12 09:26:44 -04:00
2021-01-27 12:34:43 -08:00
2022-04-30 10:03:51 -04:00
2021-11-30 15:06:04 -05:00
2021-11-30 15:06:04 -05:00
2019-11-04 12:49:19 -05:00
2022-03-23 14:49:17 +01:00
2021-07-25 23:30:57 -05:00
2021-07-28 22:50:54 -05:00
2019-09-11 21:19:27 +00:00
2022-02-12 07:25:06 -05:00
2019-12-03 16:43:35 -08:00
2020-02-14 19:41:01 +01:00
2022-11-29 08:59:09 -08:00
2022-05-13 06:39:47 -07:00
2019-09-27 05:37:06 +00:00
2021-06-23 13:26:03 +02:00
2020-10-25 06:46:25 -07:00
2022-06-02 07:52:26 -07:00
2022-02-02 11:16:11 -08:00
2020-10-12 10:29:46 -07:00
2022-11-09 16:56:03 +08:00
2022-09-02 13:36:23 -05:00
2022-02-23 22:28:29 -05:00
2022-08-23 14:29:52 +00:00
2021-08-25 12:48:59 -05:00
2021-08-25 12:48:59 -05:00
2021-07-25 23:30:57 -05:00
2021-08-25 12:48:59 -05:00
2022-12-07 15:30:19 -08:00
2020-02-14 19:41:01 +01:00
2019-09-17 08:19:17 +00:00
2022-11-30 08:35:53 -08:00
2022-03-16 12:17:52 +01:00
2021-08-25 12:48:59 -05:00
2022-10-26 12:42:56 -07:00
2021-03-03 08:48:27 -05:00
2021-03-03 08:48:27 -05:00
2019-11-12 12:45:18 +00:00
2019-08-01 09:10:37 +00:00
2021-07-25 23:30:57 -05:00
2022-06-10 13:32:19 -07:00
2022-05-16 15:46:59 -07:00
2021-05-18 10:34:14 -04:00
2021-08-18 07:33:14 -04:00
2022-07-14 07:50:58 +02:00
2021-09-23 16:15:40 -07:00
2022-02-12 07:25:06 -05:00
2021-08-18 07:33:14 -04:00
2020-06-30 13:57:47 -07:00
2022-03-07 16:45:42 -08:00
2020-09-22 08:03:03 -04:00
2021-08-20 11:10:53 -04:00
2021-08-01 19:08:13 -05:00
2022-08-31 18:13:16 -07:00
2019-07-14 18:33:51 +00:00
2022-10-31 23:39:38 +08:00