more general multi-file testing support for FDO

Xinliang David Li davidxl@google.com
Sun May 1 17:34:00 GMT 2011


I need this support for LIPO but it might be also useful for trunk.
The support is 'borrowed' from lib/lto.exp.  I have tested with it and
it works fine. The only limitation is for any subdirectory with a
multi-source test case, all the other single source test case need
also to follow the same naming standard, i.e., named as xxxx_0.c.  The
current FDO test under gcc.dg/tree-prof works as it is without any
changes.

Thanks,

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prof-multi.p
Type: application/octet-stream
Size: 4189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110501/5234dffa/attachment.obj>


More information about the Gcc-patches mailing list