]> granicus.if.org Git - clang/commit
Pass in frame pointer omitting compiler flags for CloudABI as well.
authorEd Schouten <ed@nuxi.nl>
Thu, 11 Aug 2016 19:23:30 +0000 (19:23 +0000)
committerEd Schouten <ed@nuxi.nl>
Thu, 11 Aug 2016 19:23:30 +0000 (19:23 +0000)
commit0882cc1ad83d061bb2a27aec757a5cac6e50a38d
tree0bcf71d31211417e6a80b35f07bb89878f733416
parent271e3dbddedabb82291728cb87e700bdb72e2369
Pass in frame pointer omitting compiler flags for CloudABI as well.

On Linux we pass in -fomit-frame-pointer flags (and similar)
automatically if optimization is enabled. Let's do the same thing on
CloudABI. Without this, Clang seems to run out of registers quite
quickly while trying to build code with inline assembly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278393 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/frame-pointer-elim.c