Dear all<div><br></div><div>I am trying to get the size of an LLVM pointer type.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>getPrimitiveSizeInBits() returns 0 for it and the documentation for isSized() suggest to use TargetData.</div>

<div>I figured out from Kaleidoscope example that one can get a pointer to TagetData object through the execution engine but it seems to be an overkill.</div><div>What is the right way to do it?</div><div><br></div><div>
Best regards,</div>
<div>Victor</div><div><br></div>