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)
commit9e4da07125504a0886fc7c224d233d317643d267
treecf3e047ee956d76873b8c725491ca194657143d4
parenteefffedc51016437510750852032b7c3cee4f569
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.

llvm-svn: 278393
clang/lib/Driver/Tools.cpp
clang/test/Driver/frame-pointer-elim.c