<div>Hi!</div><div><br></div><div>This code contains a stand-alone file that makes use of existing LLVM libraries to symbolize instruction addresses of a module.</div><div>Though it looks like an another llvm tool, we can temporary keep it at //projects/compiler-rt (as currently we're the only interested users,</div>
<div>and we need to compile this tool for the same targets we build ASan/TSan for). This file may be run in a separate process, and</div><div>communicate with caller via stdin/stdout. The key differences from addr2line is that the tool is capable of symbolizing code from</div>
<div>different modules and is able to consult both symbol table and debug info for fetching function name (which would be helpful</div><div>if the binary is compiled with -gline-tables-only).</div><div><br></div><div>Code review: <a href="http://codereview.appspot.com/6465080/">http://codereview.appspot.com/6465080/</a></div>
<div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>