aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/fuzz.go
Commit message (Collapse)AuthorAgeFilesLines
* sys/targets: add OS/Arch name constsDmitry Vyukov2020-10-261-1/+1
| | | | | | | | | | | | We use strings to identify OS/Arch. These strings are duplicated throughout the code base massively. golangci-lint points to possiblity of typos and duplication. We already had to define these names in pkg/csource and disable checking for prog package. A future change triggers such warnings in another package. Add OS/Arch name consts to sys/targets so that they can be used to refer to OS/Arch. Use the consts everywhere.
* fuzz.yaml: add pkg/compiler and trace2syz fuzzersDmitry Vyukov2019-03-051-4/+6
|
* executor: overhaulDmitry Vyukov2018-07-241-1/+1
| | | | | | | | | | | | | | | | | Make as much code as possible shared between all OSes. In particular main is now common across all OSes. Make more code shared between executor and csource (in particular, loop function and threaded execution logic). Also make loop and threaded logic shared across all OSes. Make more posix/unix code shared across OSes (e.g. signal handling, pthread creation, etc). Plus other changes along similar lines. Also support test OS in executor (based on portable posix) and add 4 arches that cover all execution modes (fork server/no fork server, shmem/no shmem). This change paves way for testing of executor code and allows to preserve consistency across OSes and executor/csource.
* pkg/compiler: check and generate typesDmitry Vyukov2017-09-021-0/+25
Move most of the logic from sysgen to pkg/compiler. Update #217