<div dir="ltr">Hi, everyone!<div>    I'm new here trapped by a simple problem for days.</div><div>    When LLVM translates C++ source code to IR, it will add a prefix to the function name. For example:</div><div>source code:</div><div><div>int foo(){</div><div><span class="" style="white-space:pre">      </span>return 1;</div><div>}</div></div><div>IR form:</div><div><div>define i32 @_Z3foov() #0 {</div><div>entry:</div><div>  ret i32 1, !dbg !20</div><div>}</div></div><div>    The getName() method returns _Z3foov, then how can I get foo? I know the debugging information is contained in metadata, but I've no idea on using it.</div><div>    Thanks a lot for any help.</div><div><br></div><div><br></div></div>