<div dir="ltr"><div>Hi All,<br></div><div>I have a basic question. I want to compare 2 clang binaries one with a patch and one without patch for performance.<br></div><div>I went though <a href="http://llvm.org/docs/lnt/quickstart.html">http://llvm.org/docs/lnt/quickstart.html</a> and and followed the steps to generate the reports for both the binaries but i was unable to compare the 2 results. Upon seeing the options under-<br>
</div><div>ln runtest nt --help it seems i need to set cc as clang with patch and cc-reference and clang without patch.<br><br></div><div>I tried the following command -<br><br>lnt runtest nt \<br>--sandbox SANDBOX \<br>--cc ~/Opensource/rbuild/bin/clang \<br>
--cxx ~/Opensource/rbuild/bin/clang++ \<br>--cc-reference=~/Opensource/rbuild_old/bin/clang \<br>--cxx-reference=~/Opensource/rbuild_old/bin/clang++ \<br>--test-suite ~/llvm-test-suite<br><br></div><div>but this gave me an error as follows-<br>
"lnt: error: --cc-reference is unused with --simple" .<br><br></div><div>Could someone please let me know the correct approach and command to compare reports generated for 2 clang binaries(1 with patch/changes and other as base revision).<br>
<br></div><div>Thanks for the help.<br><br></div><div>Regards<br></div><div>Karthik Bhat<br></div></div>