rust/src/test
Alex Crichton e35cd962a6 Drop struct fields if the user destructor fails
This commit changes drop glue generated for structs to use the invoke LLVM
instruction instead of call. What this means is that if the user destructor
triggers an unwinding, then the fields of the struct will still ge dropped.

This is not an attempt to support failing while failing, as that's mostly a
problem of runtime support. This is more of an issue of soundness in making sure
that destructors are appropriately run. The test included fails before this
commit, and only has one call to fail!(), yet it doesn't destroy its struct
fields.
2013-10-31 23:31:11 -07:00
..
auxiliary register snapshots 2013-10-23 18:06:12 -04:00
bench auto merge of #10145 : TeXitoi/rust/issues-2913, r=bstrie 2013-10-29 16:26:25 -07:00
codegen Add pub to all the codegen tests 2013-10-10 06:00:51 -07:00
compile-fail Implement a concat!() format extension 2013-10-31 13:46:10 -07:00
debug-info Unbreak the debuginfo tests. 2013-10-29 09:09:20 -07:00
pretty Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
run-fail Prepared std::sys for removal, and made begin_unwind simpler 2013-10-30 21:19:18 +01:00
run-pass Drop struct fields if the user destructor fails 2013-10-31 23:31:11 -07:00
run-pass-fulldeps