commit | c1b66e6003262b284937b542aa159a0c79619ff4 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Feb 27 23:18:37 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Feb 27 23:18:37 2012 +0000 |
tree | acd568ae3abbde66d3406bd4e45bfe966f09ebc9 | |
parent | 3306ec1923973d7b5767b23ba95915af2fec87d7 [diff] |
When evaluating integer expressions include a check for sub-expressions depth and error if we exceed a max value, to make sure we avoid a stack overflow. This is a hacky temporary fix. rdar://10913206. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151585 91177308-0d34-0410-b5e6-96231b3b80d8