1[
2  {
3    "wd": "/tmp/stable",
4    "wrapper": {
5      "cmd": {
6        "path": "./x86_64-cros-linux-gnu-clang",
7        "args": [
8          "-fsanitize=kernel-address",
9          "-Wl,--no-undefined",
10          "main.cc"
11        ]
12      }
13    },
14    "cmds": [
15      {
16        "cmd": {
17          "path": "/usr/bin/ccache",
18          "args": [
19            "../../usr/bin/clang",
20            "--sysroot=/usr/x86_64-cros-linux-gnu",
21            "-Qunused-arguments",
22            "-Wno-tautological-constant-compare",
23            "-Wno-tautological-unsigned-enum-zero-compare",
24            "-Wno-unknown-warning-option",
25            "-Wno-section",
26            "-static-libgcc",
27            "-Wno-final-dtor-non-final-class",
28            "-Werror=poison-system-directories",
29            "-fexperimental-new-pass-manager",
30            "-Wno-compound-token-split-by-macro",
31            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
32            "-fsanitize=kernel-address",
33            "main.cc",
34            "-Wno-implicit-int-float-conversion",
35            "-Wno-compound-token-split-by-space",
36            "-Wno-string-concatenation",
37            "-mno-movbe",
38            "-B../../bin",
39            "-target",
40            "x86_64-cros-linux-gnu"
41          ],
42          "env_updates": [
43            "CCACHE_DIR=/var/cache/distfiles/ccache",
44            "CCACHE_UMASK=002",
45            "CCACHE_CPP2=yes"
46          ]
47        }
48      }
49    ]
50  },
51  {
52    "wd": "/tmp/stable",
53    "wrapper": {
54      "cmd": {
55        "path": "./x86_64-cros-linux-gnu-clang",
56        "args": [
57          "-fsanitize=kernel-address",
58          "-Wl,-z,defs",
59          "main.cc"
60        ]
61      }
62    },
63    "cmds": [
64      {
65        "cmd": {
66          "path": "/usr/bin/ccache",
67          "args": [
68            "../../usr/bin/clang",
69            "--sysroot=/usr/x86_64-cros-linux-gnu",
70            "-Qunused-arguments",
71            "-Wno-tautological-constant-compare",
72            "-Wno-tautological-unsigned-enum-zero-compare",
73            "-Wno-unknown-warning-option",
74            "-Wno-section",
75            "-static-libgcc",
76            "-Wno-final-dtor-non-final-class",
77            "-Werror=poison-system-directories",
78            "-fexperimental-new-pass-manager",
79            "-Wno-compound-token-split-by-macro",
80            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
81            "-fsanitize=kernel-address",
82            "main.cc",
83            "-Wno-implicit-int-float-conversion",
84            "-Wno-compound-token-split-by-space",
85            "-Wno-string-concatenation",
86            "-mno-movbe",
87            "-B../../bin",
88            "-target",
89            "x86_64-cros-linux-gnu"
90          ],
91          "env_updates": [
92            "CCACHE_DIR=/var/cache/distfiles/ccache",
93            "CCACHE_UMASK=002",
94            "CCACHE_CPP2=yes"
95          ]
96        }
97      }
98    ]
99  },
100  {
101    "wd": "/tmp/stable",
102    "wrapper": {
103      "cmd": {
104        "path": "./x86_64-cros-linux-gnu-clang",
105        "args": [
106          "-fsanitize=kernel-address",
107          "-D_FORTIFY_SOURCE=1",
108          "main.cc"
109        ]
110      }
111    },
112    "cmds": [
113      {
114        "cmd": {
115          "path": "/usr/bin/ccache",
116          "args": [
117            "../../usr/bin/clang",
118            "--sysroot=/usr/x86_64-cros-linux-gnu",
119            "-Qunused-arguments",
120            "-Wno-tautological-constant-compare",
121            "-Wno-tautological-unsigned-enum-zero-compare",
122            "-Wno-unknown-warning-option",
123            "-Wno-section",
124            "-static-libgcc",
125            "-Wno-final-dtor-non-final-class",
126            "-Werror=poison-system-directories",
127            "-fexperimental-new-pass-manager",
128            "-Wno-compound-token-split-by-macro",
129            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
130            "-fsanitize=kernel-address",
131            "main.cc",
132            "-Wno-implicit-int-float-conversion",
133            "-Wno-compound-token-split-by-space",
134            "-Wno-string-concatenation",
135            "-mno-movbe",
136            "-B../../bin",
137            "-target",
138            "x86_64-cros-linux-gnu"
139          ],
140          "env_updates": [
141            "CCACHE_DIR=/var/cache/distfiles/ccache",
142            "CCACHE_UMASK=002",
143            "CCACHE_CPP2=yes"
144          ]
145        }
146      }
147    ]
148  },
149  {
150    "wd": "/tmp/stable",
151    "wrapper": {
152      "cmd": {
153        "path": "./x86_64-cros-linux-gnu-clang",
154        "args": [
155          "-fsanitize=kernel-address",
156          "-D_FORTIFY_SOURCE=2",
157          "main.cc"
158        ]
159      }
160    },
161    "cmds": [
162      {
163        "cmd": {
164          "path": "/usr/bin/ccache",
165          "args": [
166            "../../usr/bin/clang",
167            "--sysroot=/usr/x86_64-cros-linux-gnu",
168            "-Qunused-arguments",
169            "-Wno-tautological-constant-compare",
170            "-Wno-tautological-unsigned-enum-zero-compare",
171            "-Wno-unknown-warning-option",
172            "-Wno-section",
173            "-static-libgcc",
174            "-Wno-final-dtor-non-final-class",
175            "-Werror=poison-system-directories",
176            "-fexperimental-new-pass-manager",
177            "-Wno-compound-token-split-by-macro",
178            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
179            "-fsanitize=kernel-address",
180            "main.cc",
181            "-Wno-implicit-int-float-conversion",
182            "-Wno-compound-token-split-by-space",
183            "-Wno-string-concatenation",
184            "-mno-movbe",
185            "-B../../bin",
186            "-target",
187            "x86_64-cros-linux-gnu"
188          ],
189          "env_updates": [
190            "CCACHE_DIR=/var/cache/distfiles/ccache",
191            "CCACHE_UMASK=002",
192            "CCACHE_CPP2=yes"
193          ]
194        }
195      }
196    ]
197  },
198  {
199    "wd": "/tmp/stable",
200    "wrapper": {
201      "cmd": {
202        "path": "./x86_64-cros-linux-gnu-clang",
203        "args": [
204          "-fsanitize=fuzzer",
205          "main.cc"
206        ]
207      }
208    },
209    "cmds": [
210      {
211        "cmd": {
212          "path": "/usr/bin/ccache",
213          "args": [
214            "../../usr/bin/clang",
215            "--sysroot=/usr/x86_64-cros-linux-gnu",
216            "-Qunused-arguments",
217            "-Wno-tautological-constant-compare",
218            "-Wno-tautological-unsigned-enum-zero-compare",
219            "-Wno-unknown-warning-option",
220            "-Wno-section",
221            "-static-libgcc",
222            "-Wno-final-dtor-non-final-class",
223            "-Werror=poison-system-directories",
224            "-fexperimental-new-pass-manager",
225            "-Wno-compound-token-split-by-macro",
226            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
227            "-fno-experimental-new-pass-manager",
228            "-fsanitize=fuzzer",
229            "main.cc",
230            "-Wno-implicit-int-float-conversion",
231            "-Wno-compound-token-split-by-space",
232            "-Wno-string-concatenation",
233            "-mno-movbe",
234            "-B../../bin",
235            "-target",
236            "x86_64-cros-linux-gnu"
237          ],
238          "env_updates": [
239            "CCACHE_DIR=/var/cache/distfiles/ccache",
240            "CCACHE_UMASK=002",
241            "CCACHE_CPP2=yes"
242          ]
243        }
244      }
245    ]
246  },
247  {
248    "wd": "/tmp/stable",
249    "wrapper": {
250      "cmd": {
251        "path": "./x86_64-cros-linux-gnu-clang",
252        "args": [
253          "-fsanitize=address",
254          "-fprofile-instr-generate",
255          "main.cc"
256        ]
257      }
258    },
259    "cmds": [
260      {
261        "cmd": {
262          "path": "/usr/bin/ccache",
263          "args": [
264            "../../usr/bin/clang",
265            "--sysroot=/usr/x86_64-cros-linux-gnu",
266            "-Qunused-arguments",
267            "-Wno-tautological-constant-compare",
268            "-Wno-tautological-unsigned-enum-zero-compare",
269            "-Wno-unknown-warning-option",
270            "-Wno-section",
271            "-static-libgcc",
272            "-Wno-final-dtor-non-final-class",
273            "-Werror=poison-system-directories",
274            "-fexperimental-new-pass-manager",
275            "-Wno-compound-token-split-by-macro",
276            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
277            "-fno-experimental-new-pass-manager",
278            "-fsanitize=address",
279            "-fprofile-instr-generate",
280            "main.cc",
281            "-Wno-implicit-int-float-conversion",
282            "-Wno-compound-token-split-by-space",
283            "-Wno-string-concatenation",
284            "-mno-movbe",
285            "-B../../bin",
286            "-target",
287            "x86_64-cros-linux-gnu"
288          ],
289          "env_updates": [
290            "CCACHE_DIR=/var/cache/distfiles/ccache",
291            "CCACHE_UMASK=002",
292            "CCACHE_CPP2=yes"
293          ]
294        }
295      }
296    ]
297  },
298  {
299    "wd": "/tmp/stable",
300    "wrapper": {
301      "cmd": {
302        "path": "./x86_64-cros-linux-gnu-clang",
303        "args": [
304          "-fsanitize=address",
305          "main.cc"
306        ]
307      }
308    },
309    "cmds": [
310      {
311        "cmd": {
312          "path": "/usr/bin/ccache",
313          "args": [
314            "../../usr/bin/clang",
315            "--sysroot=/usr/x86_64-cros-linux-gnu",
316            "-Qunused-arguments",
317            "-Wno-tautological-constant-compare",
318            "-Wno-tautological-unsigned-enum-zero-compare",
319            "-Wno-unknown-warning-option",
320            "-Wno-section",
321            "-static-libgcc",
322            "-Wno-final-dtor-non-final-class",
323            "-Werror=poison-system-directories",
324            "-fexperimental-new-pass-manager",
325            "-Wno-compound-token-split-by-macro",
326            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
327            "-fsanitize=address",
328            "main.cc",
329            "-Wno-implicit-int-float-conversion",
330            "-Wno-compound-token-split-by-space",
331            "-Wno-string-concatenation",
332            "-mno-movbe",
333            "-B../../bin",
334            "-target",
335            "x86_64-cros-linux-gnu"
336          ],
337          "env_updates": [
338            "CCACHE_DIR=/var/cache/distfiles/ccache",
339            "CCACHE_UMASK=002",
340            "CCACHE_CPP2=yes"
341          ]
342        }
343      }
344    ]
345  },
346  {
347    "wd": "/tmp/stable",
348    "wrapper": {
349      "cmd": {
350        "path": "./x86_64-cros-linux-gnu-clang",
351        "args": [
352          "-fprofile-instr-generate",
353          "main.cc"
354        ]
355      }
356    },
357    "cmds": [
358      {
359        "cmd": {
360          "path": "/usr/bin/ccache",
361          "args": [
362            "../../usr/bin/clang",
363            "--sysroot=/usr/x86_64-cros-linux-gnu",
364            "-Qunused-arguments",
365            "-Wno-tautological-constant-compare",
366            "-Wno-tautological-unsigned-enum-zero-compare",
367            "-Wno-unknown-warning-option",
368            "-Wno-section",
369            "-static-libgcc",
370            "-Wno-final-dtor-non-final-class",
371            "-Werror=poison-system-directories",
372            "-fexperimental-new-pass-manager",
373            "-Wno-compound-token-split-by-macro",
374            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
375            "-fprofile-instr-generate",
376            "main.cc",
377            "-Wno-implicit-int-float-conversion",
378            "-Wno-compound-token-split-by-space",
379            "-Wno-string-concatenation",
380            "-mno-movbe",
381            "-B../../bin",
382            "-target",
383            "x86_64-cros-linux-gnu"
384          ],
385          "env_updates": [
386            "CCACHE_DIR=/var/cache/distfiles/ccache",
387            "CCACHE_UMASK=002",
388            "CCACHE_CPP2=yes"
389          ]
390        }
391      }
392    ]
393  }
394]
395