aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-25 02:11:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-25 02:11:20 +0000
commit885a0c494d2ba8776f43c7b0585cd629c8000286 (patch)
tree0ec0d4aad3e2a6cd2636b0be5b5df38a7a493891 /llvm/lib/IR/Module.cpp
parentad3ab2ae61a105fb33454bf503032447a2e96e4f (diff)
downloadllvm-885a0c494d2ba8776f43c7b0585cd629c8000286.zip
llvm-885a0c494d2ba8776f43c7b0585cd629c8000286.tar.gz
llvm-885a0c494d2ba8776f43c7b0585cd629c8000286.tar.bz2
Avoid recursions when the parser finds out that it has too many brackets.
BalancedDelimiterTracker::diagnoseOverflow calls P.SkipUntil, and before this patch P.SkipUnti is recursive, causing problems on systems with small stacks. This patch fixes it by making P.SkipUnti non recursive when just looking for eof. llvm-svn: 187097
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions