syzkaller/sys
Dmitry Vyukov e54e9781a4 prog: remove Dir from Type
Having Dir is Type is handy, but forces us to duplicate lots of types.
E.g. if a struct is referenced as both in and out, then we need to
have 2 copies and 2 copies of structs/types it includes.
If also prevents us from having the struct type as struct identity
(because we can have up to 3 of them).

Revert to the old way we used to do it: propagate Dir as we walk
syscall arguments. This moves lots of dir passing from pkg/compiler
to prog package.
Now Arg contains the dir, so once we build the tree, we can use dirs
as before.

Reduces size of sys/linux/gen/amd64.go from 6058336 to 5661150 (-6.6%).

Update #1580
2020-05-01 13:31:17 +02:00
..
akaros Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
android sys/linux: add ion and ashmem devices support 2018-01-09 21:24:28 +01:00
freebsd Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
fuchsia Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
linux prog: remove Dir from Type 2020-05-01 13:31:17 +02:00
netbsd Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
openbsd Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
syz-extract sys/linux: regenerate consts 2020-04-14 07:37:58 +02:00
syz-sysgen pkg/cmdprof: add package 2020-04-30 17:18:29 +02:00
targets prog: remove Dir from Type 2020-05-01 13:31:17 +02:00
test prog: don't squash objects that contain pointers 2020-05-01 13:31:17 +02:00
trusty Makefile: generate descriptions on-the-fly 2020-04-30 17:18:29 +02:00
windows prog: remove Dir from Type 2020-05-01 13:31:17 +02:00
sys.go prog: dump orig prog if Deserialize panics 2020-02-21 10:22:07 +01:00