[PATCH] D40712: [Driver] Add flag enabling the function stack size section that was added in r319430

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 10:17:43 PST 2018


bruno added inline comments.


================
Comment at: lib/Driver/ToolChains/Clang.cpp:3783
+    CmdArgs.push_back("-fno-stack-size-section");
+
   CmdArgs.push_back("-ferror-limit");
----------------
What happens when you invoke cc1 directly for ps4 and don't specify any of the two options? Is it going to default to not using stack size section? It also seems that all non ps4 targets will get -fno-stack-size-section flag by default in cc1, is it really needed?


https://reviews.llvm.org/D40712





More information about the cfe-commits mailing list