<div dir="ltr">Hi, all. I'm trying to analyze SPECInt 2006 with LLVM and face errors on some programs. <div>I modified the configuration in makefile tree so that each source code generates its byte code instead of an object file. </div><div>Then, I combined all the generated byte codes into a single byte code and run it directly with lli. </div><div>The approach works with several benchmarks (e.g. bzip) but not all of them. </div><div>Certain benchmarks like "471.omnetpp" or "483.xalancbmk" halt their execution with segmentation fault. Interestingly, both benchmarks are implemented C++. </div><div><br></div><div>Do I need to add certain optimization flag? </div><div>I'm only using the flags as follows: -static -emit-llvm -O2<br clear="all"><div><br></div><div>Any advice will be a great help.</div><div>Thank you!</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best, Sung<br></div></div></div></div></div></div>