<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Yaron,<div><br></div><div>good point. I checked "LLVMTargetMachine::addPassesToEmitFile/addPassesToEmitMachineCode/addPassesToEmitMC" and sometimes the clients add the analysis passes and sometimes they don’t. I decided to place “AddAnalysesPasses" into “addPassesToGenerateCode” instead, since this code is common to all three methods and removed the redundant calls in the clients. I also modified the C API for “AddAnalysesPasses” in the attached patch.</div><div><br></div><div>Cheers,</div><div>Juergen</div><div><br></div><div></div></body></html>