<div dir="ltr">Hi all,<div><br></div><div>Sometimes <a href="http://llvm.org/docs/doxygen/html/namespacellvm.html#ad3c29183c5faa7f5a352807af8aca268" rel="nofollow" style="margin:0px;padding:0px;border:0px;font-size:15px;color:rgb(0,89,153);text-decoration:none;font-family:arial,"helvetica neue",helvetica,sans-serif">llvm::UpgradeDebugInfo</a> drops debug info which is pretty compatible with recent llvm version ( <a href="http://stackoverflow.com/questions/27023713/missing-debug-metadata-in-llvm-after-xcode-update">http://stackoverflow.com/questions/27023713/missing-debug-metadata-in-llvm-after-xcode-update</a> ) and sometimes it drops something really outdated, but acceptable for me. In both cases I want to keep it, but AFAIK there is no API for this.</div><div><br></div><div>I've tried to strip libLLVMCore from that method and it forked for me just fine, but something has changed in llvm 3.9 and now I can't link with against hacked libLLVMCore. ( <a href="https://travis-ci.org/okutane/sanity/jobs/169662912">https://travis-ci.org/okutane/sanity/jobs/169662912</a> line 979 )</div><div><br></div><div>What can I do? The best solution for me would be "configuration" of how <span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">LLVMParseIRInContext deals with "outdated" debug info, but I'm open to any workarounds. :D</span></div><div><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"><br></span></div><div><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">Best regards, Dmitry.</span></div></div>