aboutsummaryrefslogtreecommitdiffstats
path: root/prog/target.go
diff options
context:
space:
mode:
authorPatrick Meyer <meyerpatrick@google.com>2021-05-15 17:12:44 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-05-20 13:29:54 +0200
commit5fd3595a15c0c86d52a0cad61e20453d33fa21c1 (patch)
tree955e4b44039a633dbf23c23aa70a84803caa0f9c /prog/target.go
parenta41cc17db0e5aeffb8fcb76a0452ac95c88a5c6c (diff)
pkg/host: fail loudly when coverage collection is enable w/o shmem
Otherwise coverage collection just doesn't work.
Diffstat (limited to 'prog/target.go')
-rw-r--r--prog/target.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/prog/target.go b/prog/target.go
index b090613be..f2eaf6ead 100644
--- a/prog/target.go
+++ b/prog/target.go
@@ -13,14 +13,15 @@ import (
// Target describes target OS/arch pair.
type Target struct {
- OS string
- Arch string
- Revision string // unique hash representing revision of the descriptions
- PtrSize uint64
- PageSize uint64
- NumPages uint64
- DataOffset uint64
- LittleEndian bool
+ OS string
+ Arch string
+ Revision string // unique hash representing revision of the descriptions
+ PtrSize uint64
+ PageSize uint64
+ NumPages uint64
+ DataOffset uint64
+ LittleEndian bool
+ ExecutorUsesShmem bool
Syscalls []*Syscall
Resources []*ResourceDesc