llvm/test
Reid Kleckner 75771885f8 [WinEH] Add codegen support for cleanuppad and cleanupret
All of the complexity is in cleanupret, and it mostly follows the same
codepaths as catchret, except it doesn't take a return value in RAX.

This small example now compiles and executes successfully on win32:
  extern "C" int printf(const char *, ...) noexcept;
  struct Dtor {
    ~Dtor() { printf("~Dtor\n"); }
  };
  void has_cleanup() {
    Dtor o;
    throw 42;
  }
  int main() {
    try {
      has_cleanup();
    } catch (int) {
      printf("caught it\n");
    }
  }

Don't try to put the cleanup in the same function as the catch, or Bad
Things will happen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247219 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-10 00:25:23 +00:00
..
Analysis ScalarEvolution assume hanging bugfix 2015-09-09 20:47:30 +00:00
Assembler [IR] Have AttrBuilder::clear clear TargetDepAttrs. 2015-09-03 22:27:42 +00:00
Bindings
Bitcode [Bitcode] Add compatibility tests for new instructions 2015-09-08 22:33:23 +00:00
BugPoint DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
CodeGen [WinEH] Add codegen support for cleanuppad and cleanupret 2015-09-10 00:25:23 +00:00
DebugInfo AsmPrinter: Allow null subroutine type 2015-08-28 21:38:24 +00:00
Examples Disable llvm/test/Examples/ for now while investigating. 2015-08-28 03:32:43 +00:00
ExecutionEngine [RuntimeDyld] Add support for MachO x86_64 SUBTRACTOR relocation. 2015-09-09 03:14:29 +00:00
Feature [WinEH] Add cleanupendpad instruction 2015-09-03 09:09:43 +00:00
FileCheck
Instrumentation [sancov] Disable sanitizer coverage on functions using SEH 2015-09-03 20:18:29 +00:00
Integer
JitListener DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
LibDriver
Linker New bitcode linker flags: 2015-09-01 17:55:55 +00:00
LTO Add powerpc64 to parallel.ll unsupported architecture list. 2015-09-04 19:45:36 +00:00
MC Revert "AVX512: Implemented encoding and intrinsics for vextracti64x4 ,vextracti64x2, vextracti32x8, vextracti32x4, vextractf64x4, vextractf64x2, vextractf32x8, vextractf32x4 Added tests for intrinsics and encoding." 2015-09-09 19:44:40 +00:00
Object Object: Fix COFF import file's symbols. 2015-09-01 06:01:53 +00:00
Other
SymbolRewriter
TableGen [TableGen] Allow TokenTy in intrinsic signatures 2015-09-02 13:36:25 +00:00
tools Tweak llvm/test/tools/gold/X86/parallel.ll to run with pthread-unaware ld.gold on Linux. 2015-09-03 00:48:59 +00:00
Transforms [RewriteStatepointsForGC] Extend base pointer inference to handle insertelement 2015-09-09 23:40:12 +00:00
Unit
Verifier DI: Add Function::getSubprogram() 2015-08-28 21:55:35 +00:00
YAMLParser
.clang-format
CMakeLists.txt Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure 2015-08-27 20:31:44 +00:00
lit.cfg test: Only warn about missing substitutions for required tools 2015-09-02 18:03:01 +00:00
lit.site.cfg.in Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure 2015-08-27 20:31:44 +00:00
Makefile Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure 2015-08-27 20:31:44 +00:00
Makefile.tests
TestRunner.sh