Apply timeouts and memory limits in more places. In particular, when
authorDuncan Sands <baldrick@free.fr>
Mon, 24 May 2010 07:49:55 +0000 (07:49 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 24 May 2010 07:49:55 +0000 (07:49 +0000)
commit41396302126c24f1d5231e191852ebf2ff37fe23
tree0915f8314b24a1a3e49cd1ba9136be7a6dbe7416
parent414c0c43d392fab3bed731482186e0022fe4dc18
Apply timeouts and memory limits in more places.  In particular, when
bugpoint does "Running the code generator to test for a crash" this
gets you a crash if llc goes into an infinite loop or uses up vast
amounts of memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104485 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ExecutionDriver.cpp
tools/bugpoint/ToolRunner.cpp
tools/bugpoint/ToolRunner.h