[WinCOFF] Add support for the .safeseh directive
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 30 May 2015 04:56:02 +0000 (04:56 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 30 May 2015 04:56:02 +0000 (04:56 +0000)
commite0d2a2939dc5fc8634bab9f8337079b01bba2fc0
tree71ca8336d4c7012cc2404020b6f6dc76ed04940b
parent3279f2381b52c1cf475f9d27b6db093fbbfee76f
[WinCOFF] Add support for the .safeseh directive

.safeseh adds an entry to the .sxdata section to register all the
appropriate functions which may handle an exception.  This entry is not
a relocation to the symbol but instead the symbol table index of the
function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238641 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/MC/MCAssembler.h
include/llvm/MC/MCObjectFileInfo.h
include/llvm/MC/MCStreamer.h
include/llvm/MC/MCWinCOFFStreamer.h
include/llvm/Support/COFF.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCAssembler.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCParser/COFFAsmParser.cpp
lib/MC/MCStreamer.cpp
lib/MC/WinCOFFObjectWriter.cpp
lib/MC/WinCOFFStreamer.cpp