<div dir="ltr"><div class="im" style="font-family:arial,sans-serif;font-size:13px">Hello,</div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
I have a problem getting source-level debug info using Clang and LLVM 2.9 libraries. I compile the code with -g and -O3 (or even -O1) and I'm receiving the following error:<br></div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
<div>LLVM ERROR: Code generator does not support intrinsic function 'llvm.dbg.value'!</div><div>make: *** [all] Error 1</div><div><br></div><div>Which I found is in IntrinsicLowering.cpp and that's because there isn't any case for llvm.dbg.value. </div>
<div>I want to ask if I'm missing something ?</div><div><br></div><div style>Thank you.</div></div></div>