<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">according to the documentation, clang supports <a href="http://llvm.org/releases/3.5.0/tools/clang/docs/UsersManual.html#options-to-emit-optimization-reports" class="">options to emit optimisation reports</a>. However, when I try to use them, I get an error:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">$ clang test.cpp -c -Rpass=inline</div></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">clang: error: unknown argument: '-Rpass=inline’</div></div></blockquote><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font><div class=""><span style="font-size: 11px;" class="">Am I doing something wrong? I am using this version of clang:</span></div><div class=""><span style="font-size: 11px;" class=""><br class=""></span></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">$ clang --version</div></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)</div></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Target: x86_64-apple-darwin14.0.0</div></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Thread model: posix</div></div></blockquote><div class=""><br class=""></div><div class="">Thanks for your help, and kind regards,</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Björn Pollex</div><div class=""><br class=""></div></body></html>