From 76fc461b55cfe334e8d4be121f61fa25d079f8ba Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 16 May 2019 18:05:05 +0200 Subject: 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. --- executor/syscalls.h | 1 + 1 file changed, 1 insertion(+) (limited to 'executor/syscalls.h') 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}, -- cgit mrf-deployment