Implement basic block extraction for the miscompilation debugger. This still needs
authorChris Lattner <sabre@nondot.org>
Tue, 11 May 2004 21:54:13 +0000 (21:54 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 May 2004 21:54:13 +0000 (21:54 +0000)
commit5e783ab0b5fc3407ec59f1a598fdb9ef3b96b287
tree53e4a120252283227be4ed517078b1d689228da8
parent1c2f68631e7710343bb7ba11b082ac91bdb9374d
Implement basic block extraction for the miscompilation debugger.  This still needs
two things: the FIXME in ExtractBlocks needs to be implemented, and the basic block
extractor itself needs to have enough bugs fixed for this to be more or less
useful.

Until the time that this is generally useful, it is hidden behind the new bugpoint
-enable-block-extraction option.  I hope to get the FIXME done tonight.

Also of note, this patch adds a -extract-bbs option to bugpoint which can be used
to debug the block extractor.  (hint hint Misha :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13471 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/BugDriver.h
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/Miscompilation.cpp