Beispiel #1
0
int TestMain () {
#ifdef _PGO_INSTRUMENT
    REPORT("Known issue: test_malloc_atexit hangs if compiled with -prof-genx\n");
    return Harness::Skipped;
#else
    return isMallocOverloaded()? Harness::Done : Harness::Skipped;
#endif
}
 int TestMain () {
 #ifdef _PGO_INSTRUMENT
     REPORT("Known issue: test_malloc_atexit hangs if compiled with -prof-genx\n");
     return Harness::Skipped;
 #elif __TBB_MIC_OFFLOAD
     REPORT("Known issue: libmalloc_proxy.so is loaded too late in the offload mode on the target when linked via -lmalloc_proxy\n");
     return Harness::Skipped;
 #else
     ASSERT( isMallocOverloaded(), "malloc was not replaced" );
     return Harness::Done;
 #endif
 }