syzkaller/sys/test/test.txt.const
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

7 lines
178 B
Plaintext

arches = 32_fork_shmem, 32_shmem, 64, 64_fork
IPPROTO_ICMPV6 = 58
IPPROTO_TCP = 6
IPPROTO_UDP = 17
ONLY_32BITS_CONST = 32_fork_shmem:1, 32_shmem:1
ARCH_64_SPECIFIC_CONST = 64:10