syzkaller/pkg/compiler
Dmitry Vyukov b6de93e603 pkg/compiler: merge const files into a single file
We now have 8 arches for Linux and .const files
produce lots of noise in PRs and lots of diffs.
If 3 .txt files are touched, the PR will have 24 .const files,
which will be intermixed with .txt files.
Frequently const values are equal across arches,
and even if they don't spreading a single value
across 8 files is inconvinient.

Merge all 8 *_arch.const files into a single .const file.
See the test for details of the new format.
The old format is still parsed for now,
we can't update all OSes at once.

For Linux this reduces number of const files/lines
from 1288/96599 to 158/11603.

Fixes #1983
2020-08-13 17:22:16 +02:00
..
testdata pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
attrs.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
check.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
compiler_test.go pkg/compiler: merge const files into a single file 2020-08-13 17:22:16 +02:00
compiler.go pkg/compiler: simplify and enhance handling of builtins 2020-05-05 14:01:52 +02:00
const_file_test.go pkg/compiler: merge const files into a single file 2020-08-13 17:22:16 +02:00
const_file.go pkg/compiler: merge const files into a single file 2020-08-13 17:22:16 +02:00
consts_test.go pkg/compiler: add tests for generation phase 2020-03-17 21:19:13 +01:00
consts.go pkg/compiler: merge const files into a single file 2020-08-13 17:22:16 +02:00
fuzz.go fuzz.yaml: add pkg/compiler and trace2syz fuzzers 2019-03-05 15:57:06 +01:00
gen.go pkg, prog: add per-field direction attribute 2020-08-13 13:50:25 +02:00
types.go pkg/compiler: fix crash on fmt[flags] 2020-07-23 17:13:55 +02:00