llvm/tools
Reid Kleckner f77571aeac Add a Windows EH preparation pass that zaps resumes
If the personality is not a recognized MSVC personality function, this
pass delegates to the dwarf EH preparation pass. This chaining supports
people on *-windows-itanium or *-windows-gnu targets.

Currently this recognizes some personalities used by MSVC and turns
resume instructions into traps to avoid link errors.  Even if cleanups
are not used in the source program, LLVM requires the frontend to emit a
code path that resumes unwinding after an exception.  Clang does this,
and we get unreachable resume instructions. PR20300 covers cleaning up
these unreachable calls to resume.

Reviewers: majnemer

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227405 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-29 00:41:44 +00:00
..
bugpoint Fix style. 2014-11-07 21:30:36 +00:00
bugpoint-passes
dsymutil [dsymutil] Gather the DIE tree child->parent relationships. 2015-01-28 22:15:14 +00:00
gold Update of the gold-plugin.cpp code to match Chandler's changes (r226981) 2015-01-24 13:59:08 +00:00
llc Move DataLayout back to the TargetMachine from TargetSubtargetInfo 2015-01-26 19:03:15 +00:00
lli [Orc] Add orcjit to the dependencies list in the Makefile for lli. 2015-01-24 00:01:29 +00:00
llvm-ar llvm-ar: Remove unimplemented -N option from -help 2015-01-28 06:00:01 +00:00
llvm-as
llvm-bcanalyzer [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-c-test Fix build breakage caused by memory leaks in llvm-c-test 2015-01-28 18:32:31 +00:00
llvm-config [cmake] Teach the llvm-config program to respect LLVM_LIBDIR_SUFFIX. 2014-12-29 11:16:25 +00:00
llvm-cov llvm-cov: Don't use llvm::outs() in library code 2015-01-23 23:09:27 +00:00
llvm-diff Return a std::unique_ptr from the IRReader.h functions. NFC. 2014-08-26 17:29:46 +00:00
llvm-dis Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
llvm-dwarfdump Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-extract Remove redundant calls to isMaterializable. 2014-11-01 16:46:18 +00:00
llvm-go Teach LLVM about llgo subproject. 2014-11-27 00:15:21 +00:00
llvm-jitlistener [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-link Make it easier to pass a custom diagnostic handler to the IR linker. 2014-10-27 23:02:10 +00:00
llvm-lto llvm-lto: Add testing coverage for local contexts 2014-12-17 02:00:38 +00:00
llvm-mc Remove unused includes and out of date comment. NFC. 2014-12-17 03:07:20 +00:00
llvm-mcmarkup
llvm-nm [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-objdump dd the option, -link-opt-hints to llvm-objdump used with -macho to print the 2015-01-27 21:28:24 +00:00
llvm-pdbdump [llvm-pdbdump] Add basic symbol dumping. 2015-01-28 01:22:33 +00:00
llvm-profdata Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-readobj Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
llvm-rtdyld [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
llvm-shlib [cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to 2014-12-29 11:16:19 +00:00
llvm-size Assigning and copying command line option objects shouldn't be allowed. 2015-01-22 01:49:59 +00:00
llvm-stress
llvm-symbolizer llvm-symbolizer: teach it about PowerPC64 ELF function descriptors 2014-11-07 09:08:39 +00:00
llvm-vtabledump llvm-vtabledump: Handle Itanium VTables 2014-11-03 07:23:25 +00:00
lto Unbreak cmake build with shared libraries enabled. 2014-12-20 01:51:02 +00:00
macho-dump Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers. 2014-12-18 00:53:40 +00:00
msbuild MSBuild integration: fix the loop in install.bat 2014-09-30 22:30:06 +00:00
obj2yaml obj2yaml, yaml2obj: Add support for COFF executables 2014-11-14 08:15:42 +00:00
opt Add a Windows EH preparation pass that zaps resumes 2015-01-29 00:41:44 +00:00
verify-uselistorder Prologue support 2014-12-03 02:08:38 +00:00
yaml2obj [ELFYAML] Support mips64 relocation record format in yaml2obj/obj2yaml 2015-01-25 13:29:25 +00:00
CMakeLists.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
LLVMBuild.txt Add llvm-pdbdump to tools. 2015-01-27 20:46:21 +00:00
Makefile Initial dsymutil tool commit. 2014-12-12 17:31:24 +00:00