Displaying 2 results from an estimated 2 matches for "aligininbit".
Did you mean:
aligininbits
2014 Dec 19
2
[LLVMdev] question about the DIBuilder::createStructType
...le, you might have
>
> age : size 32, offset 0, align 32
> name: size 32, offset 32, align 32
>
> or
>
> age : size 32, offset 0, align 8
> name: size 32, offset 32, align 8
>
> depending on your target processor.
>
>
> The sizeInBits and AliginInBits parameters to createStructType describe
> the whole structure (e.g. Actor: sizeInBits:64 aligInBits: 32). Note
> that the size of the structure may be more than the sum of the size of the
> individual members - there may be gaps in the structure layout, depending
> on the sizes and...
2014 Dec 18
2
[LLVMdev] question about the DIBuilder::createStructType
Hello,
I'm using DIBuilder to create debugging information, I'm not clear about
two things:
[1] Could you help explain the meaning and the difference
between"alignment" and "offset" of a type ?
e.g class Actor{
int age;
const char* name;
}
Besides, I found the denotation of createMemberType and createStructType
both have "Member