[LLVMdev] Seeing double

Gordon Henriksen gordonhenriksen at mac.com
Sun Nov 4 17:54:42 PST 2007

On Nov 4, 2007, at 12:39, Chris Lattner wrote:

> On Nov 4, 2007, at 8:25 AM, Gordon Henriksen wrote:
>> Is there a reason that BlockExtractorPass is duplicated? See tools/ 
>> Bugpoint/ExtractFunction.cpp and lib/Transforms/IPO/ 
>> LoopExtractor.cpp.
> Huh, how about that.

This existed to communicate the "blocks to not extract" list via a  
static variable to the forked bugpoint subprocess. Since bugpoint  
subprocesses now exec, this form of IPC is no longer possible. I  
opened http://llvm.org/PR1775 for the matter.

> It looks like bugpoint should use the other one and drop its copy.


— Gordon

More information about the llvm-dev mailing list