On 11/21/2011 11:31 AM, Aldy Hernandez wrote: > Tested on x86-64 Linux. The testcase only tests for assembly, since I see no > way of testing linkage and depending on libitm as well.
All these tests support multi-file linkage (otherwise LTO is moot).
You could supply dummy implementations of the libitm functions,
with __attribute__((noinline,noclone)) and with a body containing
at least asm("").
r~
