OSDN Git Service

[SEH] Emit the parent frame offset label even if there are no funclets
authorReid Kleckner <rnk@google.com>
Fri, 30 Sep 2016 22:10:12 +0000 (22:10 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 30 Sep 2016 22:10:12 +0000 (22:10 +0000)
commit7d8f62dd9e6da9ecf18d6a6debc9729c1d700f33
treecbfc462f9e6700f47de77a9f97392f38508e3d44
parente71d314ca79527f810e11cc9ab968b76043706e3
[SEH] Emit the parent frame offset label even if there are no funclets

This avoids errors about references to undefined local labels from
unreferenced filter functions.

Fixes (sort of) PR30431

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/WinException.cpp
test/CodeGen/X86/seh-no-invokes.ll [new file with mode: 0644]