[PATCH] D36501: Add flag to request Clang is ABI-compatible with older versions of itself

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 25 14:18:59 PDT 2017

probinson added inline comments.

Comment at: lib/Driver/ToolChains/Clang.cpp:2934
+    ABICompatArg->render(Args, CmdArgs);
   // Add runtime flag for PS4 when PGO or Coverage are enabled.
else if (getToolChain().getTriple().isPS4())

Which lets us avoid piles of PS4 special cases all over everywhere.
Sony is historically very conservative about compatibility, and we'll be happier defaulting it this way.  Setting platform-specific defaults in the driver seems to be pretty common already, this is just one more.



More information about the cfe-commits mailing list