Nico Weber 2346b92f2b clang: Don't warn on unused momit-leaf-frame-pointer when frame pointers are off.
This fixes a regression from r365860: As that commit message
states, there are 3 valid states targeted by the combination of
-f(no-)omit-frame-pointer and -m(no-)omit-leaf-frame-pointer.

After r365860 it's impossible to get from state 10 (omit just
leaf frame pointers) to state 11 (omit all frame pointers)
in a single command line without getting a warning.

This change restores that functionality.

Fixes PR42966.

Differential Revision: https://reviews.llvm.org/D66142

llvm-svn: 368728
2019-08-13 17:37:09 +00:00
..
2019-07-09 18:19:00 +00:00
2019-07-09 18:19:00 +00:00
2018-01-09 09:18:14 +00:00
2016-04-26 13:54:29 +00:00
2016-04-26 13:54:29 +00:00
2018-04-06 15:14:32 +00:00
2017-11-17 21:55:23 +00:00
2017-08-15 19:47:06 +00:00
2019-07-09 18:19:00 +00:00
2019-01-29 20:13:02 +00:00
2019-06-18 13:59:32 +00:00
2019-07-25 12:15:46 +00:00
2019-08-01 13:14:30 +00:00
2018-11-29 03:49:14 +00:00
2017-08-22 21:16:22 +00:00
2017-08-22 21:16:22 +00:00
2017-08-22 21:16:22 +00:00
2017-06-16 19:29:20 +00:00
2018-10-01 20:53:25 +00:00
2016-10-18 19:22:20 +00:00
2016-10-18 19:22:20 +00:00
2016-10-18 19:22:20 +00:00
2016-10-18 19:22:20 +00:00
2019-02-17 02:42:48 +00:00
2019-07-11 19:06:38 +00:00
O.c
2019-07-18 18:29:59 +00:00
2019-03-11 20:23:40 +00:00
2016-04-19 17:43:54 +00:00
2016-10-18 19:22:20 +00:00
2019-08-12 01:29:46 +00:00
2015-09-10 22:31:45 +00:00