rnk added inline comments.

================
Comment at: cfe/trunk/lib/Frontend/CompilerInvocation.cpp:3457
+  if (Diags.isIgnored(diag::warn_profile_data_misexpect, SourceLocation()))
+    Res.FrontendOpts.LLVMArgs.push_back("-pgo-warn-misexpect");
+
----------------
Clang generally tries to avoid relying on LLVM option parsing if at all 
possible. It is not thread-safe, among other things. This causes essentially 
every compile to call `llvm::cl::ParseCommandLineOptions`, when previously it 
would only happen if the user passed unstable -mllvm flags.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66324/new/

https://reviews.llvm.org/D66324



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [P... Jean-MichaĆ«l Celerier via Phabricator via cfe-commits
    • ... Alexey Sachkov via Phabricator via cfe-commits
    • ... Reid "Away June-Sep" Kleckner via Phabricator via cfe-commits

Reply via email to