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())
CmdArgs.push_back("-fclang-abi-compat=3.2");
```
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.
Repository:
rL LLVM
https://reviews.llvm.org/D36501
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits