<div dir="ltr"><div>Hi all,</div><div><br></div><div>I was able to generate the Stack Map which is shown here <a href="https://llvm.org/docs/StackMaps.html#stack-map-format">https://llvm.org/docs/StackMaps.html#stack-map-format</a>. Now I want to read those entries. What I did was, I manually change the .s file as shown below (Added the <b>.globl __LLVM_StackMaps </b>manually). Then I can read the entries using C code.  </div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-size:15px;line-height:20px;white-space:pre"><div><span style="color:rgb(86,156,214)">.globl</span> __LLVM_StackMaps </div><div><span style="color:rgb(220,220,170)">__LLVM_StackMaps:</span></div><div>    <span style="color:rgb(86,156,214)">.byte</span>   <span style="color:rgb(181,206,168)">3</span></div><div>    <span style="color:rgb(86,156,214)">.byte</span>   <span style="color:rgb(181,206,168)">0</span></div><div>    <span style="color:rgb(86,156,214)">.</span>short  <span style="color:rgb(181,206,168)">0</span></div></div></div><div><br></div><div>I want to know, whether this is the correct approach. If not could you please suggest me the correct approach?</div><div><br></div><div>Really appreciate your input on this.</div><div><br></div><div>Thank you,</div><div>Kavindu</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Kavindu Gimhan Zoysa,</div><div>BSc(Hons) | ENTC | UoM,<br></div><div dir="ltr">SSE | WSO2<div><br></div><div><a href="https://github.com/KavinduZoysa" target="_blank">GitHub</a> <a href="https://www.linkedin.com/in/kavindu-gimhan-zoysa-85939a122/" target="_blank">LinkedIn</a> <a href="https://medium.com/@kavindugimhanzoysa" target="_blank">Medium</a></div></div></div></div></div></div></div></div></div>