diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-05-16 18:05:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-05-16 18:05:05 +0200 |
| commit | 76fc461b55cfe334e8d4be121f61fa25d079f8ba (patch) | |
| tree | 88cc3472e7352c2cd74f3234acb4bd2083ff61d4 /executor/syscalls.h | |
| parent | f59a9cb554a8dfcbe13c8a0775542ee7a0d8a353 (diff) | |
pkg/compiler: add offsetof type
Similar to C offsetof gives offset of a field
from the beginning of the parent struct.
We have several TODOs in descriptions asking for this.
Diffstat (limited to 'executor/syscalls.h')
| -rw-r--r-- | executor/syscalls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h index 8c6e6f0fb..a0810f527 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -15509,6 +15509,7 @@ const call_t syscalls[] = { {"test$length9", 0}, {"test$missing_resource", 0}, {"test$missing_struct", 0}, + {"test$offsetof0", 0}, {"test$opt0", 0}, {"test$opt1", 0}, {"test$opt2", 0}, |
