diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-07 21:08:25 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-07 21:08:25 +0000 |
commit | c289c9ff553424791d9b72b6eb5529f9f14e58d9 (patch) | |
tree | c7b73443fb895622487aff7addad8f1ae889bfb7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1f88e93973024e8e59611553ad63fc913f6699e4 (diff) | |
download | llvm-c289c9ff553424791d9b72b6eb5529f9f14e58d9.zip llvm-c289c9ff553424791d9b72b6eb5529f9f14e58d9.tar.gz llvm-c289c9ff553424791d9b72b6eb5529f9f14e58d9.tar.bz2 |
[WinEH] Remove unreachable blocks before preparation
We remove unreachable blocks because it is pointless to consider them
for coloring. However, we still had stale pointers to these blocks in
some data structures after we removed them from the function.
Instead, remove the unreachable blocks before attempting to do anything
with the function.
This fixes PR25099.
llvm-svn: 249617
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions