aboutsummaryrefslogtreecommitdiffstats
path: root/executor/gen_linux_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'executor/gen_linux_amd64.go')
-rw-r--r--executor/gen_linux_amd64.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/executor/gen_linux_amd64.go b/executor/gen_linux_amd64.go
new file mode 100644
index 000000000..dd68a198b
--- /dev/null
+++ b/executor/gen_linux_amd64.go
@@ -0,0 +1,7 @@
+// Copyright 2017 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+// nolint: lll
+//go:generate bash -c "gcc -DGOARCH_$GOARCH=1 kvm_gen.cc kvm_amd64.S -o kvm_gen && ./kvm_gen > kvm_amd64.S.h && rm ./kvm_gen"
+
+package executor