diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2017-05-18 14:54:02 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2017-06-12 19:48:23 +0200 |
| commit | 10c9064bfc4890e5895057021280a0558131e3eb (patch) | |
| tree | d651d4ecf24acbdad5bfb26e95cd943389d4e091 /executor/common_kvm_amd64.h | |
| parent | acae98dc5463f8aaa13013aab1aa80509d800fb7 (diff) | |
csource: only handle SIGSEGV when necessary
Diffstat (limited to 'executor/common_kvm_amd64.h')
| -rw-r--r-- | executor/common_kvm_amd64.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/executor/common_kvm_amd64.h b/executor/common_kvm_amd64.h index dd37733ed..e4753223e 100644 --- a/executor/common_kvm_amd64.h +++ b/executor/common_kvm_amd64.h @@ -7,6 +7,15 @@ // See Intel Software Developer’s Manual Volume 3: System Programming Guide // for details on what happens here. +// We could put each NONFAILING use in this file under ifdef, +// but I don't think it's worth it. +#ifndef NONFAILING +#define NONFAILING(x) \ + { \ + x; \ + } +#endif + #include "kvm.S.h" #include "kvm.h" |
