search for: int32_1

Displaying 1 result from an estimated 1 matches for "int32_1".

Did you mean: int32_t
2012 Aug 31
2
[LLVMdev] Clang incompatible with GCC on Linux + ARM Cortex-A9
...s fine while compiled using GCC but will crash with Clang. Specifically, the alignment strategy of Clang confused me. I wrote a small program to print the structure layout of the following and compiled it with both Clang and GCC. struct S { pthread_mutex_t mutex; pthread_cond_t cond; int32_t int32_1; int32_t int32_2; }; The output are as following (the format is: field_address (+offset): field_name; field_size): gcc 0xbe92d588 (+0) : mutex ; 24 0xbe92d5a0 (+24): cond ; 48 0xbe92d5d0 (+72): int32_1 ; 4 0xbe92d5d4 (+76): int32_2 ; 4 clang 0xbe856580 (+0) : mutex ; 24 0xbe856598 (+24): co...