[llvm-commits] [patch] Fix bugpoint -inline ....

Rafael Espindola espindola at google.com
Sat Jul 24 18:22:50 PDT 2010

When TestFuncs calls TestOptimizer and the list of optimization
functions includes passes like inline that can delete functions, the
list of functions that reduceList operates on was getting out of date
and we would sometimes use deleted memory.

It looks like reduceList is OK with tests modifying the list, so that
is what this patch does: regenerate the list after the test run so
that we are sure it is current.

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugpoint.patch
Type: text/x-patch
Size: 1919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100724/429d3378/attachment.bin>

More information about the llvm-commits mailing list