Hi, > 2. For TargetData size, for those struct allocations that I don't know > its size in advance, I want to get its size and use the size in a memcpy > function, which makes a copy of the struct. Is the ABI type size the > correct one? yes ABI size is the right one to use for alloca. Ciao, Duncan.