The struct field names aren't part of the CLIF ABI, just the order of
fields within the struct. The comments are there for human readability.
strcmp(iter.field->name, "Pad") == 0)
continue;
strcmp(iter.field->name, "Pad") == 0)
continue;
- fprintf(clif->out, " %s: %s\n", iter.name, iter.value);
+ if (clif->pretty) {
+ fprintf(clif->out, " %s: %s\n",
+ iter.name, iter.value);
+ } else {
+ fprintf(clif->out, " /* %30s: */ %s\n",
+ iter.name, iter.value);
+ }
if (iter.struct_desc) {
uint64_t struct_offset = offset + iter.offset;
v3d_print_group(clif, iter.struct_desc,
if (iter.struct_desc) {
uint64_t struct_offset = offset + iter.offset;
v3d_print_group(clif, iter.struct_desc,