diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-06-08 00:07:54 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-06-08 00:07:54 +0000 |
commit | c0cc28301a7fa71ae895dd637058e0624f6bd399 (patch) | |
tree | 0d1d0ee0add8ffdce7a2490afb130510a4fead3d /lib/Target | |
parent | 843c6c2d0e83bcd52a215d768bacaa7b5ffe16a4 (diff) | |
download | external_llvm-c0cc28301a7fa71ae895dd637058e0624f6bd399.zip external_llvm-c0cc28301a7fa71ae895dd637058e0624f6bd399.tar.gz external_llvm-c0cc28301a7fa71ae895dd637058e0624f6bd399.tar.bz2 |
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
Diffstat (limited to 'lib/Target')
0 files changed, 0 insertions, 0 deletions