summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-07-24 23:51:14 +0000
committerRui Ueyama <ruiu@google.com>2015-07-24 23:51:14 +0000
commitcd3f99b6c534ad0d0e2040c6beea8e82b575123b (patch)
treec8d8811b7aa8a48c7bfd86203dc3e7634967470e /llvm
parent39497e9f5bd9c82c15b4d1798976e5daad5c7767 (diff)
downloadbcm5719-llvm-cd3f99b6c534ad0d0e2040c6beea8e82b575123b.tar.gz
bcm5719-llvm-cd3f99b6c534ad0d0e2040c6beea8e82b575123b.zip
COFF: Implement Safe SEH support for x86.
An object file compatible with Safe SEH contains a .sxdata section. The section contains a list of symbol table indices, each of which is an exception handler function. A safe SEH-enabled executable contains a list of exception handler RVAs. So, what the linker has to do to support Safe SEH is basically to read the .sxdata section, interpret the contents as a list of symbol indices, unique-fy and sort their RVAs, and then emit that list to .rdata. This patch implements that feature. llvm-svn: 243182
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud