Test suite with gold/LTO

Hi everyone,

I've gone through the documentation for LLVM 2.9 and started perusing the Makefiles, and can't seem to find a straightforward way to run the LLVM test suite using gold and the LLVM LTO plugin.

Before I attempt to hack something into the test suite, has anyone successfully tried something like this before? If yes, what steps were necessary?

I'm mostly focused on the SingleSource and MultiSource suites. Apologies if I've missed something obvious.

Cheers,

Todd