summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CrashRecoveryContext.cpp
diff options
context:
space:
mode:
authorAhmed Charles <ace2001ac@gmail.com>2012-02-19 11:37:01 +0000
committerAhmed Charles <ace2001ac@gmail.com>2012-02-19 11:37:01 +0000
commit636a3d618ca8217e3fc77b0e47596a9114864aed (patch)
treecc77af62ca8eec4a0419cb4bb871a5889353a24a /llvm/lib/Support/CrashRecoveryContext.cpp
parenta4704ab080703a2f761b6319eb1f73ba02d3be5f (diff)
downloadbcm5719-llvm-636a3d618ca8217e3fc77b0e47596a9114864aed.tar.gz
bcm5719-llvm-636a3d618ca8217e3fc77b0e47596a9114864aed.zip
Remove dead code. Improve llvm_unreachable text. Simplify some control flow.
llvm-svn: 150918
Diffstat (limited to 'llvm/lib/Support/CrashRecoveryContext.cpp')
-rw-r--r--llvm/lib/Support/CrashRecoveryContext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/CrashRecoveryContext.cpp b/llvm/lib/Support/CrashRecoveryContext.cpp
index 263114c06f9..e2af0bc1765 100644
--- a/llvm/lib/Support/CrashRecoveryContext.cpp
+++ b/llvm/lib/Support/CrashRecoveryContext.cpp
@@ -165,7 +165,6 @@ static LONG CALLBACK ExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
// Note that we don't actually get here because HandleCrash calls
// longjmp, which means the HandleCrash function never returns.
llvm_unreachable("Handled the crash, should have longjmp'ed out of here");
- return EXCEPTION_CONTINUE_SEARCH;
}
// Because the Enable and Disable calls are static, it means that
OpenPOWER on IntegriCloud