<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
We are trying to adapt the clang-llvm interpreter code <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/" rel="nofollow" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(74,107,130);text-decoration:initial">here</a> to run some c++ code that uses stl vector and c++ string among other things. This resulted in a number of unresolved symbols, and after eliminating a bunch of them, we are still stuck with __Unwind_resume and __assert_fail</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
I would really appreciate any help on resolving this.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
Note: we were having problem with includes in the code that needed to be jitted so we ran clang++ to preprocess it and the output of that is a single c++ file with no dependency on local includes. Not sure if that has introduced some problems.</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
Note2: This is on Ubuntu 12.01 and we tried compiling clang interpreter with both clang+llvm 3.1 and with gcc 4.6.3</p></div>