bpang@US-BPANG:~/dwarves/build$ cat t.c
typedef struct {
int x;
int y;
} xy;
int main(){
xy xy0;
}
bpang@US-BPANG:~/dwarves/build$ gcc -g t.c
bpang@US-BPANG:~/dwarves/build$ ./pahole -C xy -s a.out
xy 0 0
It shows 0 for xy's size, I am expecting it can show the correct size 8.