Fix SEH state numbering algorithm to handle cleanupendpads
authorReid Kleckner <rnk@google.com>
Thu, 10 Sep 2015 21:46:36 +0000 (21:46 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 10 Sep 2015 21:46:36 +0000 (21:46 +0000)
commit76b827089dee46f4952294e56389cbe0a7ac2550
tree801b45158b87e9622504b77f3a073498579342e8
parent19991cc69a011299075aa6914d28f0827dbc635b
Fix SEH state numbering algorithm to handle cleanupendpads

WinEHPrepare's new coloring algorithm really expects to see
cleanupendpads now, so Clang will start emitting them soon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247341 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/X86/win-cleanuppad.ll [new file with mode: 0644]
test/CodeGen/X86/win32-seh-cleanupendpad.ll [new file with mode: 0644]