diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-27 23:18:37 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-27 23:18:37 +0000 |
commit | c1b66e6003262b284937b542aa159a0c79619ff4 (patch) | |
tree | acd568ae3abbde66d3406bd4e45bfe966f09ebc9 /lib/CodeGen/CodeGenModule.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions