<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Revision 118203 removed the no arg version of CompilerInstance::createSourceManager, How <font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px;"><br></span></font><div>do we create a SourceManager if we are JITting (no source file exists)? More specifically</div><div>is the following the correct replacement--I have not "created" file system ops? Even though the</div><div>new code works, I just want to make sure I'm sane.</div><div><br></div><div>#if 0<br> CI.createSourceManager();<br> CI.getSourceManager().createMainFileIDForMemBuffer(buffer);<br> CI.createFileManager();<br>#else<br> CI.createFileManager();<br> CI.createSourceManager(CI.getFileManager(), CI.getFileSystemOpts());<br> CI.getSourceManager().createMainFileIDForMemBuffer(buffer);<br>#endif<br><br></div><div>Thanks in advance</div><div><br></div><div>Garrison</div></body></html>