[WinEH] Teach AsmPrinter about funclets
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 29 Sep 2015 20:12:33 +0000 (20:12 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 29 Sep 2015 20:12:33 +0000 (20:12 +0000)
commit0ba86faae250903278719e1e4e5ec561bf8d38b4
treec823ee34ba28f8763df810d57dc8ca24071b7470
parentc9736fba4b3015e8bd2d47ced90876faf5d75df4
[WinEH] Teach AsmPrinter about funclets

Summary:
Funclets have been turned into functions by the time they hit the object
file.  Make sure that they have decent names for the symbol table and
CFI directives explaining how to reason about their prologues.

Differential Revision: http://reviews.llvm.org/D13261

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248824 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/llvm/CodeGen/MachineBasicBlock.h
include/llvm/CodeGen/WinEHFuncInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/AsmPrinterHandler.h
lib/CodeGen/AsmPrinter/WinException.cpp
lib/CodeGen/AsmPrinter/WinException.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/WinEH/seh-prepared-basic.ll
test/CodeGen/X86/gcc_except_table.ll
test/CodeGen/X86/seh-catch-all.ll
test/CodeGen/X86/seh-except-finally.ll
test/CodeGen/X86/seh-finally.ll
test/CodeGen/X86/seh-safe-div.ll
test/CodeGen/X86/win-catchpad-csrs.ll
test/CodeGen/X86/win-catchpad.ll
test/CodeGen/X86/win-cleanuppad.ll
test/CodeGen/X86/win-funclet-cfi.ll [new file with mode: 0644]