<div dir="ltr">Hi everyone,<div><br></div><div>I was happily using MCJIT for over a year until yesterday when I created a function call with an argument of a struct type. That caused a crash in SelectionDAG around DataLayout::getAlignment().</div><div><br></div><div>I remember the noise about the DataLayout started being mandatory. But I cannot find precise information.</div><div><br></div><div>Should I set the DataLayout in every Module created?</div><div><br></div><div>Where can I get the DataLayout for the host process from?</div><div><br></div><div>Can a DataLayout instance be shared between modules?</div><div><br></div><div>- PaweÅ‚</div></div>