aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/frame-pointer-elim.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-27ARM-Darwin: re-enable -momit-leaf-frame-pointer.Tim Northover1-2/+2
In r279546 I disabled all frame pointer elimination at the front-end on ARM-Darwin (and warned about it) because before that the backend had been silently ignoring these options. It turns out we didn't ignore -momit-leaf-frame-pointer though, just the more general -fomit-frame-pointer. So this re-enables passing that down to CodeGen so that everything really does continue working as before (with better diagnostics). llvm-svn: 293311
2016-08-24Adding an additional test to ensure the frame pointer is emittedDouglas Yung1-0/+2
when compiling with optimization when PS4 is the target. llvm-svn: 279603
2016-08-23ARM-Darwin: ignore and diagnose attempts to omit frame pointer.Tim Northover1-0/+18
iOS (and other 32-bit ARM variants) always require a valid frame pointer to improve backtraces. Previously the -fomit-frame-pointer and -momit-leaf-frame-pointer options were being silently discarded via hacks in the backend. It's better if Clang configures itself to emit the correct IR and warns about (ignored) attempts to override this. llvm-svn: 279546
2016-08-11Pass in frame pointer omitting compiler flags for CloudABI as well.Ed Schouten1-0/+9
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
2015-01-31Fix a typoFilipe Cabecinhas1-1/+1
We're not that much into metals. llvm-svn: 227696
2015-01-30Shuffle tests around to more appropriate filesFilipe Cabecinhas1-0/+5
llvm-svn: 227592
2013-04-03Move this file into the correct directory.Eric Christopher1-0/+30
llvm-svn: 178607