vbox的更動 66170 路徑 trunk/src/VBox/HostServices
- 時間撮記:
- 2017-3-20 下午02:35:00 (8 年 以前)
- 位置:
- trunk/src/VBox/HostServices/SharedOpenGL
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk
r65381 r66170 408 408 ifneq ($(KBUILD_TARGET),darwin) 409 409 VBoxOGLTest_SOURCES = OpenGLTest/OpenGLTest.cpp 410 ifneq ($(KBUILD_TARGET),win) 411 VBoxOGLTest_DEFS += $(if $(VBOX_WITH_GCC_SANITIZER),VBOX_WITH_GCC_SANITIZER,) 412 endif 410 413 endif 411 414 VBoxOGLTest_SOURCES.darwin = OpenGLTest/OpenGLTestDarwin.cpp -
trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest.cpp
r62489 r66170 45 45 uint64_t StartTS; 46 46 47 #ifdef VBOX_WITH_GCC_SANITIZER 48 /* The OpenGL test tool contains a number of memory leaks which cause it to 49 * return failure when run with ASAN unless we disable the leak detector. */ 50 RTENV env; 51 if (RT_FAILURE(RTEnvClone(&env, RTENV_DEFAULT))) 52 return false; 53 RTEnvPutEx(env, "ASAN_OPTIONS=detect_leaks=0"); /* If this fails we will notice later */ 54 #endif 47 55 rc = RTPathExecDir(pszVBoxPath, RTPATH_MAX); AssertRCReturn(rc, false); 48 56 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) … … 54 62 AssertRCReturn(rc, false); 55 63 64 #ifndef VBOX_WITH_GCC_SANITIZER 56 65 rc = RTProcCreate(pszVBoxPath, papszArgs, RTENV_DEFAULT, 0, &Process); 66 #else 67 rc = RTProcCreate(pszVBoxPath, papszArgs, env, 0, &Process); 68 RTEnvDestroy(env); 69 #endif 57 70 if (RT_FAILURE(rc)) 58 71 return false;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器