<div dir="ltr"><div style="color:rgb(0,0,0);background-color:rgb(255,255,254)"><div><br><div>Hi Devs,</div><div>debug info emitted by llvm does not contain DW_AT_Location <span style="color:rgb(0,0,255)">for</span> Formal parameter</div><div><span style="color:rgb(0,0,255)">if</span> it is an aggregate like below <span style="color:rgb(0,0,255)">case</span></div><div><span style="color:rgb(9,136,90)">1</span>) aggregate contain more than <span style="color:rgb(9,136,90)">4</span> homogeneous and  size more than <span style="color:rgb(9,136,90)">128</span> bits</div><div>i.e.</div><div><span style="color:rgb(0,0,255)">typedef</span> <span style="color:rgb(0,0,255)">struct</span>{</div><div>    <span style="color:rgb(0,0,255)">int</span> a,b,c,d,e;</div><div>}mystruct;</div><div><span style="color:rgb(0,0,255)">void</span> foo(mystruct ms){</div><div>} </div><br><div><span style="color:rgb(9,136,90)">2</span>)  aggregate contain hetrogeneous type and size more than <span style="color:rgb(9,136,90)">128</span> bits.</div><div>i.e.</div><div><span style="color:rgb(0,0,255)">typedef</span> <span style="color:rgb(0,0,255)">struct</span>{</div><div>    <span style="color:rgb(0,0,255)">int</span> a,b;</div><div>    <span style="color:rgb(0,0,255)">float</span> c,d,e;</div><div>}mystruct;</div><div><span style="color:rgb(0,0,255)">void</span> foo(mystruct ms){</div><br><div>} </div><br><div>This occur only when aarch64 is used, not with arm and x86.</div><div>like to know community thoughts wether this can be considered as bug or it<span style="color:rgb(163,21,21)">'</span>s an abi restriction.</div></div><div><br></div><div><br></div><div>./kamlesh</div></div></div>