Bugpoint support for miscompilations that result in a crash.
authorAndrew Trick <atrick@apple.com>
Wed, 11 May 2011 16:31:24 +0000 (16:31 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 11 May 2011 16:31:24 +0000 (16:31 +0000)
commit7c863eb8cc34c8ae97ae90672758eb6637b1125f
tree25fd978fd971992c33ff05b6845be93ba0c6c685
parentde5d5ded6440f6c3e364f4f31bada108ad2d74a4
Bugpoint support for miscompilations that result in a crash.

This change allows bugpoint to pinpoint the "opt" pass and bitcode
segment responsible for a crash caused by miscompilation. At least it
works well for me now, without having to create any custom execution
wrappers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131186 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Program.h
lib/Support/Program.cpp
lib/Support/Unix/Program.inc
tools/bugpoint/ExecutionDriver.cpp
tools/bugpoint/Miscompilation.cpp
tools/bugpoint/ToolRunner.cpp