aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-06-22 16:21:14 +0000
committerHans Wennborg <hans@hanshq.net>2016-06-22 16:21:14 +0000
commit9565cf581e35f5e73930ab48493943bffe4941a1 (patch)
treeb8bd6157a2e8133efbc7266cb54ac0580b7b6f59 /clang/lib/Frontend/CompilerInvocation.cpp
parent0df350589f6481c42514a4e0d02c8ac362ca4c49 (diff)
downloadllvm-9565cf581e35f5e73930ab48493943bffe4941a1.zip
llvm-9565cf581e35f5e73930ab48493943bffe4941a1.tar.gz
llvm-9565cf581e35f5e73930ab48493943bffe4941a1.tar.bz2
Widen EHScope::ClenupBitFields::FixupDepth to avoid overflowing it (PR23490)
It currently only takes 2048 gotos to overflow the FixupDepth bitfield, causing silent miscompilation. Apparently some parser generators run into this (see PR). I don't know that that data structure is terribly size sensitive anyway, and since there's no room to widen the bitfield, let's just use a separate word in EHCatchScope for it. Differential Revision: http://reviews.llvm.org/D21566 llvm-svn: 273434
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions