[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)
commit4eecd30d1910ba784e98a7d628f0e2448712725f
tree94b5f2352aff7eb8f73b7966f22cedc561f4abf3
parent9cc2516676063f190e04e231284a52cb45fdb273
[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.

llvm-svn: 238641
12 files changed:
llvm/include/llvm/MC/MCAssembler.h
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/include/llvm/MC/MCStreamer.h
llvm/include/llvm/MC/MCWinCOFFStreamer.h
llvm/include/llvm/Support/COFF.h
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCAssembler.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCParser/COFFAsmParser.cpp
llvm/lib/MC/MCStreamer.cpp
llvm/lib/MC/WinCOFFObjectWriter.cpp
llvm/lib/MC/WinCOFFStreamer.cpp