[llvm-dev] How exactly is datatype alignment determined?

Dr. ERDI Gergo via llvm-dev llvm-dev at lists.llvm.org
Wed May 24 06:13:17 PDT 2017


On Wed, 24 May 2017, Dr. ERDI Gergo wrote:

> So now I guess I'll have to track down who else is overriding the alignment 
> settings.

aaaargh so apparently the TargetMachine subclass passes a datalayout 
string to the LLVMTargetMachine base class's constructor, and that 
datalayout string takes precedence... and in the AVR case, that datalayout 
string is wrong.

Thanks, I think I'll be able to handle it from here.


More information about the llvm-dev mailing list