Make bugpoint ehpad/token friendly
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 8 Nov 2015 04:16:12 +0000 (04:16 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 8 Nov 2015 04:16:12 +0000 (04:16 +0000)
commitd9aac4c473db5eccf1e85f74eabbe3fda488cd35
treee5bfa353abaa670f199f28d49a12ffcbae8f7fa8
parenta3e5642aba317bf272530db77a8fcccde66e2031
Make bugpoint ehpad/token friendly

Tokens shouldn't be blindly replaced with undef/null.  Also, don't try
to remove EH pad instructions from the top of basic blocks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252414 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/CrashDebugger.cpp