[WinEH] Fix xdata generation when no catch object is present
authorReid Kleckner <reid@kleckner.net>
Tue, 7 Apr 2015 19:46:38 +0000 (19:46 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 7 Apr 2015 19:46:38 +0000 (19:46 +0000)
commit1106660066504d163543607b38371c97aef7708e
treee48b696c07ad231cd88745e597b5f41148582971
parent8a781bee0010268210169528b43d9f268f43d1cc
[WinEH] Fix xdata generation when no catch object is present

The lack of a catch object is indicated by a frame escape index of -1.

Fixes PR23137.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234346 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/CodeGen/AsmPrinter/Win64Exception.cpp
test/CodeGen/WinEH/cppeh-prepared-catch-all.ll [new file with mode: 0644]