We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ee556 commit 83ab9eaCopy full SHA for 83ab9ea
examples/layout/layout.c
@@ -218,6 +218,10 @@ main(int argc, char **argv)
218
me->me_idx = i;
219
me->me_u.u_data.size = data->init_size;
220
}
221
+ /*
222
+ * globals are typically offsets in the default memory.
223
+ * (notable exceptions: __tls_size etc)
224
+ */
225
for (i = m->nimportedglobals; i < m->nimportedglobals + m->nglobals;
226
i++) {
227
const struct global *g = &m->globals[i];
0 commit comments