<div dir="ltr"><a href="https://llvm.org/doxygen/classllvm_1_1Instruction.html#ab4f3bf98b5054831b608852e33427814">https://llvm.org/doxygen/classllvm_1_1Instruction.html#ab4f3bf98b5054831b608852e33427814</a> is probably a good place to start<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 13, 2022 at 10:48 AM 闫鑫 via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><table style="width:99.8%"><tbody><tr><td id="gmail-m_1124551651296732121QQMAILSTATIONERY" style="background:url("https://rescdn.qqmail.com/zh_CN/htmledition/images/xinzhi/bg/a_01.jpg") no-repeat rgb(246,255,236);min-height:550px;padding:100px 55px 200px"><font face="宋体" size="4"> </font><font style="display:inline;font-size:18px;font-family:宋体;color:rgb(0,0,0);text-decoration:none;background-color:rgba(0,0,0,0);font-weight:700;font-style:normal">  Thank you very much for reading my emails in your busy schedule.   <br>   I get the ll file with debug information by using the command "clang++ xxx.c -g -S -emit-llvm -o xxx.ll".I want to get the line number information about the source code via "!DILocation". But I don't know how to use the API in PASS to get the Relevant metadata information.For example: (!24 !DILocation(line 32,column 5,scope: !11)<br>   I sincerely hope you can help me with this problem. Hope you are doing well and in good health.<br><br></font></td></tr></tbody></table>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>