Quentin Colombet c0cc28301a Reapply r183552. This time, use a standard type for the option to avoid template
instantiation issue with non-standard type.

Add a backend option to warn on a given stack size limit.
Option: -mllvm -warn-stack-size=<limit>
Output (if limit is exceeded):
warning: Stack size limit exceeded (<actual size>) in <functionName>.

The longer term plan is to hook that to a clang warning.
PR:4072
<rdar://problem/13987214>.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183595 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-08 00:07:54 +00:00
..
2013-03-25 13:47:46 +00:00
2012-11-12 06:49:17 +00:00
2012-07-16 19:35:43 +00:00
2012-10-25 17:50:05 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-03-06 00:17:04 +00:00
2013-02-16 12:16:56 +00:00
2012-07-23 08:51:15 +00:00
2012-06-19 02:17:35 +00:00
2012-08-17 12:28:26 +00:00
2013-05-06 20:57:23 +00:00
2013-03-09 18:25:40 +00:00
2012-08-17 12:28:26 +00:00
2013-06-01 10:23:46 +00:00
2013-04-21 01:38:25 +00:00
2013-03-01 18:40:30 +00:00
2013-02-25 23:01:03 +00:00
2013-03-01 19:23:37 +00:00
2013-03-01 19:23:37 +00:00
2013-03-01 19:23:37 +00:00
2013-03-01 19:23:37 +00:00
2012-09-12 21:43:09 +00:00
2013-03-01 19:23:37 +00:00
2012-08-31 20:12:31 +00:00
2012-09-17 18:05:20 +00:00
2012-10-01 16:44:04 +00:00
2012-10-23 21:40:15 +00:00
2012-10-29 17:57:12 +00:00
2013-02-12 16:07:27 +00:00
2013-02-20 18:04:21 +00:00
2013-03-20 02:33:21 +00:00
2013-03-14 06:57:42 +00:00
2013-03-26 18:15:45 +00:00
2012-09-26 08:24:51 +00:00
2012-12-02 15:46:02 +00:00
2013-01-08 18:27:24 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-11-08 07:28:54 +00:00
2013-01-08 18:27:24 +00:00
2012-07-17 19:40:05 +00:00
2013-05-23 07:46:13 +00:00
2013-02-19 17:11:48 +00:00
2013-03-15 00:10:23 +00:00
2013-03-09 18:25:40 +00:00
2012-10-25 17:50:05 +00:00
2012-10-25 17:50:05 +00:00
2013-03-26 22:47:01 +00:00