llvm-6502/test
Reid Kleckner 49ab3a626a EH: Prune unreachable resume instructions during Dwarf EH preparation
Today a simple function that only catches exceptions and doesn't run
destructor cleanups ends up containing a dead call to _Unwind_Resume
(PR20300). We can't remove these dead resume instructions during normal
optimization because inlining might introduce additional landingpads
that do have cleanups to run. Instead we can do this during EH
preparation, which is guaranteed to run after inlining.

Fixes PR20300.

Reviewers: majnemer

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229944 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 01:00:19 +00:00
..
Analysis [LoopAccesses] Add -analyze support 2015-02-19 19:15:19 +00:00
Assembler IR: Fix MDType fields from unsigned to uint64_t 2015-02-19 23:56:07 +00:00
Bindings
Bitcode
BugPoint
CodeGen EH: Prune unreachable resume instructions during Dwarf EH preparation 2015-02-20 01:00:19 +00:00
DebugInfo DebugInfo: Match Name and DisplayName in testcase 2015-02-19 23:48:17 +00:00
ExecutionEngine Make frem.ll flush after calling printf. 2015-02-18 19:32:28 +00:00
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO Introduce Target::createNullTargetStreamer and use it from IRObjectFile. 2015-02-19 00:45:02 +00:00
MC MC: Allow multiple comma-separated expressions on the .uleb128 directive. 2015-02-19 20:24:04 +00:00
Object
Other
SymbolRewriter
TableGen
tools [Objdump] Fixing crash when printing symbols in ELF sections with special types. 2015-02-18 23:00:22 +00:00
Transforms [objc-arc-contract] We can not move retains over instructions which can not conservatively be proven to not decrement the retain's RCIdentity. 2015-02-20 00:02:49 +00:00
Unit
Verifier Implement invoke statepoint verification. 2015-02-19 11:28:47 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh